Add note re only adding tests with Free Software fonts

This commit is contained in:
Behdad Esfahbod 2016-02-23 15:19:27 +09:00
parent 6a09d7e34b
commit 525cc7d28c
1 changed files with 4 additions and 1 deletions

View File

@ -30,8 +30,11 @@ what this does is:
$ ./hb-unicode-encode 41 42 43 627 | ./record-it.sh ../../util/hb-shape font.ttf >> tests/test-name.test $ ./hb-unicode-encode 41 42 43 627 | ./record-it.sh ../../util/hb-shape font.ttf >> tests/test-name.test
``` ```
If you created a new test file, add it to Makefile.am so it is run. If you created a new test file, add it to `Makefile.am` so it is run.
Check that `make test` does indeed run it, and that the test passes. Check that `make test` does indeed run it, and that the test passes.
When everything looks good, `git add` the new font as well as new When everything looks good, `git add` the new font as well as new
test file if you created any. You can see what new files are there test file if you created any. You can see what new files are there
by running `git status tests fonts/sha1sum`. And commit! by running `git status tests fonts/sha1sum`. And commit!
*Note!* Please only add tests using Open Source fonts, preferably under
OFL or similar license.