scc

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

chktest.sh (220B)


      1 #!/bin/sh
      2 
      3 ulimit -c 0
      4 rm -f test.log
      5 
      6 unset CFLAGS
      7 unset CC
      8 
      9 for i in *-*.sh
     10 do
     11 	printf "Test: %s\n\n" $i >> test.log
     12 	(./$i >> test.log 2>&1 && printf '[PASS]\t' || printf '[FAIL]\t'
     13 	echo "$i") | tee -a test.log
     14 done