From f6228773b80fb5808d855cbb7e031ec7324462a2 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 19 Jul 2020 17:09:33 +0200 Subject: add simple integration test with a new dummy benchmark and the system default allocator --- Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d6e393f..42d4983 100644 --- a/Makefile +++ b/Makefile @@ -20,8 +20,12 @@ export CXXFLAGS = -std=c++11 $(CFLAGS) -fno-exceptions export LDFLAGS = -pthread -static-libgcc export LDXXFLAGS = $(LDFLAGS) -static-libstdc++ -.PHONY: all clean pylint format tags check check-format check-pylint $(MAKEFILES) $(CMAKELISTS) -all: $(OBJDIR)/ccinfo $(MAKEFILES) $(CMAKELISTS) +.PHONY: all clean pylint format tags\ + check check-format check-pylint check-mypy\ + test integration-test\ + $(MAKEFILES) $(CMAKELISTS) + +all: $(OBJDIR)/ccinfo $(MAKEFILES) $(CMAKELISTS) $(CMAKELISTS): $(eval BENCHDIR=$(OBJDIR)$(shell echo $@ | sed s/$(SRCDIR)//)) @@ -62,4 +66,9 @@ check-mypy: tags: ctags -R --exclude="build/*" --exclude="cache/*" --exclude="doc/*" --exclude="results/*" -check: check-pylint check-format check-mypy +integration-test: + python3 -m unittest discover -s tests/integration + +test: integration-test + +check: check-pylint check-format check-mypy test -- cgit v1.2.3