xref: /freebsd/contrib/one-true-awk/testdir/yc (revision 36e15b717eec80047fe7442898b5752101f2fbca)
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.data >foo1
13	time ../drek test.data >foo2
14	cmp foo1 foo2 || ( echo $i '	' bad; echo $i '	' bad >/dev/tty; diff foo1 foo2 )
15	echo '>>>' $i
16	echo
17done
18