scc

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

chktest.sh (222B)


      1 #!/bin/sh
      2 
      3 rm -f test.log
      4 
      5 for i in *.s
      6 do
      7 	cpu="${i%.s}"
      8 	printf "Test: %s\n\n" $cpu >> test.log
      9 	(./test.sh  $cpu >> test.log 2>&1 && printf '[PASS]\t' || printf '[FAIL]\t'
     10 	echo testing cpu=$cpu) | tee -a test.log
     11 done