From 56a84e8dd18c63782b8db3a86e94651dae5bb01b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 24 Feb 2016 15:50:33 +0900 Subject: [PATCH] [tests] Allow commenting out tests to be skipped --- test/shaping/run-tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/shaping/run-tests.sh b/test/shaping/run-tests.sh index 668bb8c9c..47bf25b23 100755 --- a/test/shaping/run-tests.sh +++ b/test/shaping/run-tests.sh @@ -22,6 +22,10 @@ IFS=: for f in "$@"; do $reference || echo "Running tests in $f" while read fontfile options unicodes glyphs_expected; do + if echo "$fontfile" | grep -q '^#'; then + $reference || echo "Skipping $fontfile:$unicodes" + continue + fi $reference || echo "Testing $fontfile:$unicodes" glyphs=`$srcdir/hb-unicode-encode "$unicodes" | $hb_shape $options "$srcdir/$fontfile"` if test $? != 0; then