diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest')
-rw-r--r-- | import-layers/yocto-poky/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest b/import-layers/yocto-poky/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest new file mode 100644 index 0000000000..d23f0bf6d7 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-extended/gawk/gawk-4.1.4/run-ptest @@ -0,0 +1,10 @@ +#!/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 |