Improve checks
This commit is contained in:
parent
5a2b0b3878
commit
f5dd3be46b
|
@ -8,7 +8,7 @@ stat=0
|
|||
|
||||
cd "$srcdir"
|
||||
|
||||
for x in *.c *.cc *.h *.hh ; do
|
||||
for x in hb-*.c hb-*.cc hb-*.h hb-*.hh ; do
|
||||
if ! grep -q HB_BEGIN_DECLS "$x" || ! grep -q HB_END_DECLS "$x"; then
|
||||
echo "Ouch, file $x does not HB_BEGIN_DECLS / HB_END_DECLS"
|
||||
stat=1
|
||||
|
|
|
@ -8,7 +8,7 @@ stat=0
|
|||
|
||||
cd "$srcdir"
|
||||
|
||||
for x in *.h *.hh ; do
|
||||
for x in hb-*.h hb-*.hh ; do
|
||||
tag=`echo "$x" | tr 'a-z.-' 'A-Z_'`
|
||||
lines=`grep "\<$tag\>" "$x" | wc -l`
|
||||
if test "x$lines" != x3; then
|
||||
|
|
Loading…
Reference in New Issue