xref: /freebsd/contrib/one-true-awk/testdir/xc (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1for i in $*
2do
3	echo $i >/dev/tty
4	echo $i '<<<'
5	cd ..
6	echo testdir/$i:
7	ind <testdir/$i
8	a.out -f testdir/$i >drek.c
9	cat drek.c
10	make drek || ( echo $i '	' bad compile; echo $i '	' bad compile >/dev/tty; continue )
11	cd testdir
12	time awk -f $i test.countries >foo1
13	time ../drek test.countries >foo2
14	cmp foo1 foo2 || ( echo $i '	' bad; echo $i '	' bad >/dev/tty; diff foo1 foo2 )
15	echo '>>>' $i
16	echo
17done
18