chktest.sh - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
chktest.sh (211B)
---
1 #!/bin/sh
2
3 trap "rm -f a.out; exit" 0 2 3 15
4 ulimit -c 0
5 rm -f test.log
6
7 for i in *-*.sh
8 do
9 printf "Test: %s\n\n" $i >> test.log
10 ./$i >> test.log 2>&1 && printf '[PASS]\t' || printf '[FAIL]\t'
11 echo "$i"
12 done