M7350/oe-core/meta/recipes-extended/gawk/gawk-4.1.1/run-ptest
2024-09-09 08:57:42 +00:00

11 lines
334 B
Bash

#!/bin/sh
cd test
for i in `grep -vE "@|^$|#|Gt-dummy" Maketests |awk -F: '{print $1}'`; \
do LC_ALL=${GAWKLOCALE:-C} LANG=${GAWKLOCALE:-C} srcdir=`pwd` AWK=gawk CMP=cmp \
make -f Maketests $i >$i.tmp 2>&1; \
grep -q "Error" $i.tmp; \
if [ $? -eq 0 ]; then echo "FAIL: $i"; \
else echo "PASS: $i"; rm -f $i.tmp; fi; \
done