Skip to content

Commit

Permalink
[tests] s/BLACKLIST/BLOCKLIST/
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledhosny committed Jun 14, 2020
1 parent c8a3ccb commit 5cbcf1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions tests/test_good_fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ test "x$top_builddir" = x && top_builddir=.
# Usage: ./test_good_fonts.sh [ttf_or_otf_file_name]

BASE_DIR=$top_srcdir/tests/fonts/good/
BLACKLIST=$top_srcdir/tests/BLACKLIST.txt
BLOCKLIST=$top_srcdir/tests/BLOCKLIST.txt
CHECKER=$top_builddir/ots-idempotent$EXEEXT

if [ ! -r "$BLACKLIST" ] ; then
echo "$BLACKLIST is not found."
if [ ! -r "$BLOCKLIST" ] ; then
echo "$BLOCKLIST is not found."
exit 1
fi

Expand Down Expand Up @@ -74,7 +74,7 @@ fi

# Check the font file using idempotent if the font is not blacklisted.
BASE=`basename "$1"`
SKIP=`egrep -i -e "^$BASE" "$BLACKLIST"`
SKIP=`egrep -i -e "^$BASE" "$BLOCKLIST"`

if [ "x$SKIP" = "x" ]; then
$CHECKER "$1"
Expand Down

0 comments on commit 5cbcf1b

Please sign in to comment.