[tests] Fix for multiple options in test runner scripts

This commit is contained in:
Behdad Esfahbod 2016-02-24 16:06:23 +09:00
parent ebd7431f82
commit 17c8317017

View File

@ -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