diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-11-14 22:06:10 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-11-14 22:06:10 +0100 |
commit | 9e7f4c9d43b310c280cd6432cd4150411f4b914e (patch) | |
tree | c7be57a91602c228f05ff1cab2f186dcc6635733 /Makefile | |
parent | 009e450626194299ee4b5ccb8463ac64e127fde6 (diff) |
Added system tests
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 |