[tests] Allow commenting out tests to be skipped
This commit is contained in:
parent
7cfd6cc486
commit
56a84e8dd1
|
@ -22,6 +22,10 @@ IFS=:
|
||||||
for f in "$@"; do
|
for f in "$@"; do
|
||||||
$reference || echo "Running tests in $f"
|
$reference || echo "Running tests in $f"
|
||||||
while read fontfile options unicodes glyphs_expected; do
|
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"
|
$reference || echo "Testing $fontfile:$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
|
||||||
|
|
Loading…
Reference in New Issue