scc

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

chktest.sh (208B)


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