Home | History | Annotate | Line # | Download | only in testdir
      1 for i in $*
      2 do
      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
     17 done
     18