summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-11-14 22:06:10 +0100
committerRoland Reichwein <mail@reichwein.it>2020-11-14 22:06:10 +0100
commit9e7f4c9d43b310c280cd6432cd4150411f4b914e (patch)
treec7be57a91602c228f05ff1cab2f186dcc6635733 /Makefile
parent009e450626194299ee4b5ccb8463ac64e127fde6 (diff)
Added system tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6c646c0..e7d50dd 100644
--- a/Makefile
+++ b/Makefile
@@ -98,12 +98,12 @@ TESTSRC=\
SRC=$(PROGSRC) mcc.cpp
all: test-$(PROJECTNAME) mcc
- ./test-$(PROJECTNAME) --gtest_filter='CppTest.compile'
+ ./test-$(PROJECTNAME) # --gtest_filter='CppTest.compile_1'
systemtest:
- #./mcc systemtest/mcc-execute.tests/test.cpp
- ./mcc systemtest/mcc-execute.tests/test1.cpp
- runtest --all --srcdir systemtest --tool mcc
+ ./mcc systemtest/mcc-execute.tests/test-return-1.cpp
+ ./mcc systemtest/mcc-execute.tests/test-addition.cpp
+ runtest --srcdir systemtest --tool mcc # --all
# testsuite ----------------------------------------------
test-$(PROJECTNAME): $(TESTSRC:.cpp=.o)
@@ -133,7 +133,8 @@ ADD_DEP=Makefile
clean:
-rm -f test-$(PROJECTNAME) mcc tempfile.txt
-find . -name '*.o' -o -name '*.d' -o -name '*.gcno' -o -name '*.gcda' | xargs rm -f
- -rm -f systemtest/mcc-execute.tests/test1
+ -rm -f systemtest/mcc-execute.tests/test-return-1
+ -rm -f systemtest/mcc-execute.tests/test-addition
-rm -f *.log *.sum
zip: clean