scc

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

commit dccae4cf0fa8f506673ecd239ff0589dcf63897f
parent f563f208aebc62dc2087d545f3b5bcde1a254db0
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sun, 16 Sep 2018 07:07:03 +0100

[tests/libc] Improve output format

Diffstat:
Mtests/libc/execute/chktest.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/libc/execute/chktest.sh b/tests/libc/execute/chktest.sh @@ -9,6 +9,7 @@ rm -f test.log while read i state do + state=${state:-"\t"} rm -f a.out *.o $tmp1 $tmp2 (echo $i @@ -17,5 +18,5 @@ do ./a.out > $tmp2 diff -u $tmp1 $tmp2) >> test.log 2>&1 && printf '[PASS]' || printf '[FAIL]' - printf '%s: %s\n' "$state" "$i" + printf "$state\t%s\n" $i done < $file