scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

chktest.sh (225B)


      1 #!/bin/sh
      2 
      3 trap "rm -rf file*; exit" 0 2 3 15
      4 ulimit -c 0
      5 rm -f test.log
      6 rm -rf file*
      7 
      8 for i in *-*.sh
      9 do
     10 	printf "Test: %s\n\n" $i >> test.log
     11 	./$i >> test.log 2>&1 && printf '[PASS]\t' || printf '[FAIL]\t'
     12 	echo "$i"
     13 done