diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2016-02-24 16:06:23 +0900 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2016-02-24 16:06:23 +0900 |
commit | 17c831701756bb46300c412fd64b19d67f299c18 (patch) | |
tree | b38d74ed8539765c3977065e4b6896a69ae3a5f5 | |
parent | ebd7431f824c718db6ce5b85e94f2b3911127af4 (diff) |
[tests] Fix for multiple options in test runner scripts
-rwxr-xr-x | test/shaping/run-tests.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/shaping/run-tests.sh b/test/shaping/run-tests.sh index 47bf25b2..021c6f8a 100755 --- a/test/shaping/run-tests.sh +++ b/test/shaping/run-tests.sh @@ -18,10 +18,9 @@ if test $# = 0; then set /dev/stdin fi -IFS=: for f in "$@"; do $reference || echo "Running tests in $f" - while read fontfile options unicodes glyphs_expected; do + while IFS=: read fontfile options unicodes glyphs_expected; do if echo "$fontfile" | grep -q '^#'; then $reference || echo "Skipping $fontfile:$unicodes" continue |