blob: f4ef3e7bd4e727f776f2f59cfe4f8cb8ecf77ec0 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001#!/bin/sh
2
3cd test
Brad Bishop15ae2502019-06-18 21:44:24 -04004for i in `grep -E "^[a-z0-9_-]*:$" Maketests |awk -F: '{print $1}'`; do
Andrew Geissler517393d2023-01-13 08:55:19 -06005 unset LANG
Patrick Williams8e7b46e2023-05-01 14:19:06 -05006 grep -q "^$i$" skipped.txt
7 if [ $? -eq 0 ]; then
8 echo "SKIP: $i"
9 continue
10 fi
Brad Bishop15ae2502019-06-18 21:44:24 -040011 srcdir=`pwd` AWKPROG=gawk AWK=gawk CMP=cmp make -f Maketests $i >$i.tmp 2>&1
12 if [ -e _$i ]; then
13 cat _$i
14 grep -q "support not compiled in" _$i
15 if [ $? -eq 0 ]; then
16 echo "SKIP: $i"
17 continue
18 fi
19 fi
20 grep -q "Error" $i.tmp
21 if [ $? -eq 0 ]; then
22 echo "FAIL: $i"
23 else
24 echo "PASS: $i"
25 rm -f $i.tmp
26 fi
Patrick Williamsc124f4f2015-09-15 14:41:29 -050027done