diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-19 17:09:33 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-19 17:09:33 +0200 |
| commit | f6228773b80fb5808d855cbb7e031ec7324462a2 (patch) | |
| tree | 6dbf93ba3c48d23f1ad801a62a3b5574026b349a /Makefile | |
| parent | 4dc95d03d37d1093bb7800a0b62a1d7fed4e35a7 (diff) | |
| download | allocbench-f6228773b80fb5808d855cbb7e031ec7324462a2.tar.gz allocbench-f6228773b80fb5808d855cbb7e031ec7324462a2.zip | |
add simple integration test with a new dummy benchmark and the system default allocator
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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 |
