This commit is contained in:
Behdad Esfahbod 2017-09-01 10:46:48 -07:00
parent 04f009f848
commit 3e1fc6d18b
1 changed files with 2 additions and 2 deletions

View File

@ -23,10 +23,10 @@ for f in "$@"; do
$reference || echo "Running tests in $f" $reference || echo "Running tests in $f"
while IFS=: read fontfile options unicodes glyphs_expected; do while IFS=: read fontfile options unicodes glyphs_expected; do
if echo "$fontfile" | grep -q '^#'; then if echo "$fontfile" | grep -q '^#'; then
$reference || echo "Skipping $fontfile:$unicodes" $reference || echo "#hb-shape $fontfile --unicodes $unicodes"
continue continue
fi fi
$reference || echo "Testing $fontfile:$unicodes" $reference || echo "hb-shape $fontfile --unicodes $unicodes"
glyphs=`$srcdir/hb-unicode-encode "$unicodes" | $hb_shape $options "$srcdir/$fontfile"` glyphs=`$srcdir/hb-unicode-encode "$unicodes" | $hb_shape $options "$srcdir/$fontfile"`
if test $? != 0; then if test $? != 0; then
echo "hb-shape failed." >&2 echo "hb-shape failed." >&2