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