commit 02280ce31580e794f4aba3e3bf4d6d91c391ae3b
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Mon Sep 26 12:34:22 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Mon Sep 26 12:34:22 2016 +0200

    [tests] Pass -Iinclude to scc
    
    Test 0064-sysinclude.c needs this flag, otherwise it cannot find
    the needed include.

diff --git a/tests/chktest.sh b/tests/chktest.sh
index 820e850..950e31d 100755
--- 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

Reply via email to