chktest.sh - scc - simple c99 compiler
HTML git clone git://git.simple-cc.org/scc
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR 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