diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2014-07-17 15:27:46 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2014-07-17 15:30:17 -0400 |
commit | d21e997035b16e9807dfb29c3605abb93f92f1ee (patch) | |
tree | 4a0fea1a4d9274d3f37a0a7d6a427af86b4625ae /test | |
parent | 7cd33f230441093dbfb1fec48f8c580ee8d9ef71 (diff) | |
download | harfbuzz-d21e997035b16e9807dfb29c3605abb93f92f1ee.tar.gz |
[test] Make record_test understand cmdline args to hb-shape
Diffstat (limited to 'test')
-rwxr-xr-x | test/shaping/record-test.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/shaping/record-test.sh b/test/shaping/record-test.sh index 384d87fe..81087f7f 100755 --- a/test/shaping/record-test.sh +++ b/test/shaping/record-test.sh @@ -3,7 +3,10 @@ dir=`mktemp --directory` hb_shape=$1 -fontfile=$2 +shift +fontfile=$1 +shift +hb_shape="$hb_shape $@" unicodes=`./hb-unicode-decode` text=`./hb-unicode-encode "$unicodes"` glyphs=`echo "$text" | $hb_shape "$fontfile"` |