check-externs.sh: Make output more verbose

Trying to figure out why this is failing on some Debian bots:
https://bugs.freedesktop.org/show_bug.cgi?id=103346

Maybe I should check for GNU grep specifically now that I'm using -n as well.
This commit is contained in:
Behdad Esfahbod 2017-10-24 10:06:25 -04:00
parent 3b7388aab6
commit 9ac2e5c6c0
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ echo 'Checking that all public symbols are exported with HB_EXTERN'
for x in $HBHEADERS; do
test -f "$srcdir/$x" && x="$srcdir/$x"
$EGREP -B1 '^hb_' "$x" | $EGREP -E -v '^(--|hb_|HB_EXTERN )' -A1
$EGREP -B1 -n '^hb_' /dev/null "$x" |
$EGREP -v '(^--|:hb_|-HB_EXTERN )' -A1
done |
grep . >&2 && stat=1