From 9e7f4c9d43b310c280cd6432cd4150411f4b914e Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 14 Nov 2020 22:06:10 +0100 Subject: Added system tests --- Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3