commit b2537502d9aa8a69d9b4c2dfa1fd1c57116bba3e
parent 3731792b164223503a4bca4f94a10d0dda63a59f
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 30 Oct 2021 22:43:53 +0200
tests/cc: Use scc instead of scc-cc
The scc wrapper simplifies the use of scc because
it automatically sets all the environment variables
needed.
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/cc/error/Makefile b/tests/cc/error/Makefile
@@ -2,12 +2,12 @@
ROOT=../../..
SCCPREFIX=$(ROOT)
-CC=$(ROOT)/bin/scc-cc
+CC=$(ROOT)/bin/scc
all: tests
tests:
- CC=$(CC) SCCPREFIX=$(SCCPREFIX) ./chktest.sh scc-tests.lst
+ CC=$(CC) ./chktest.sh scc-tests.lst
clean:
rm -f *.as *.o *.ir *.qbe *core test.log
diff --git a/tests/cc/execute/Makefile b/tests/cc/execute/Makefile
@@ -2,12 +2,12 @@
ROOT=../../..
SCCPREFIX=$(ROOT)
-CC=$(ROOT)/bin/scc-cc
+CC=$(ROOT)/bin/scc
all: tests
tests:
- @CC=$(CC) SCCPREFIX=$(SCCPREFIX) ./chktest.sh scc-tests.lst
+ @CC=$(CC) ./chktest.sh scc-tests.lst
clean:
rm -f *.as *.o *.ir *.qbe *core test.log