Updated samples: record-it.sh is now record-test.sh

This commit is contained in:
Dominik Schloesser 2017-03-26 09:21:13 +02:00 committed by Khaled Hosny
parent f2e6c7ce51
commit c2a9de15f5

View File

@ -14,7 +14,7 @@ FontTools from <https://github.com/behdad/fonttools>.
To use `record-test.sh`, just put it right before the `hb-shape` invocation:
```sh
$ ./hb-unicode-encode 41 42 43 627 | ./record-it.sh ../../util/hb-shape font.ttf
$ ./hb-unicode-encode 41 42 43 627 | ./record-test.sh ../../util/hb-shape font.ttf
```
what this does is:
* Subset the font for the sequence of Unicode characters requested,
@ -27,7 +27,7 @@ what this does is:
and prints out the test case input, which you can then redirect to
an existing or new test file in `tests`, eg.:
```sh
$ ./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-test.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.