scc

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

commit 02280ce31580e794f4aba3e3bf4d6d91c391ae3b
parent 34e6b11260c579164660ac7fb1e1348000b8cf80
Author: Roberto E. Vargas Caballero <roberto.vargas@igrid-td.com>
Date:   Mon, 26 Sep 2016 12:34:22 +0200

[tests] Pass -Iinclude to scc

Test 0064-sysinclude.c needs this flag, otherwise it cannot find
the needed include.

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

diff --git a/tests/chktest.sh b/tests/chktest.sh @@ -8,5 +8,5 @@ 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] + (scc -Iinclude -m qbe "$i" && ./a.out) 2>/dev/null && echo [OK] || echo [FAILED] done