blob: f4ef3e7bd4e727f776f2f59cfe4f8cb8ecf77ec0 [file] [log] [blame]
#!/bin/sh
cd test
for i in `grep -E "^[a-z0-9_-]*:$" Maketests |awk -F: '{print $1}'`; do
unset LANG
grep -q "^$i$" skipped.txt
if [ $? -eq 0 ]; then
echo "SKIP: $i"
continue
fi
srcdir=`pwd` AWKPROG=gawk AWK=gawk CMP=cmp make -f Maketests $i >$i.tmp 2>&1
if [ -e _$i ]; then
cat _$i
grep -q "support not compiled in" _$i
if [ $? -eq 0 ]; then
echo "SKIP: $i"
continue
fi
fi
grep -q "Error" $i.tmp
if [ $? -eq 0 ]; then
echo "FAIL: $i"
else
echo "PASS: $i"
rm -f $i.tmp
fi
done