scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit 71c7631e89e9db3bef1a338d8dfa34327f11a308
parent 88bcc4a813a2d7924c88965244cf10b2b69c8398
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 17 Aug 2016 18:05:25 +0200

[test] Remove previous a.out before compiling

If the compilation fails with a segmentation fault then we can have
a a.out file from a previous test.

Diffstat:
Mtests/chktest.sh | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/tests/chktest.sh b/tests/chktest.sh @@ -7,5 +7,6 @@ ulimit -c 0 for i in $@ do printf "%s\t" $i + rm -f a.out (scc -m qbe "$i" && ./a.out) 2>/dev/null && echo [OK] || echo [FAILED] done