From f3d7f7ab24861f04450b09b2adf30fa21d5feac5 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 28 Jun 2023 04:56:52 +0200 Subject: Makefile: split tests into different recipes --- Dockerfile | 2 +- Makefile | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 74745a6..17d6e5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN cd -- "$src_dir" && \ "DEFAULT_HOST=$DEFAULT_HOST" \ "INSTALL_PREFIX=$install_dir" && \ ulimit -n 1024 && \ - make test CONFIGURATION="$CONFIGURATION" + make test/all CONFIGURATION="$CONFIGURATION" FROM base diff --git a/Makefile b/Makefile index d770648..91806f0 100644 --- a/Makefile +++ b/Makefile @@ -61,4 +61,11 @@ install: build .PHONY: test test: - cd -- '$(call escape,$(cmake_dir))' && ctest --verbose + cd -- '$(call escape,$(cmake_dir))' && ctest --verbose --exclude-regex python_tests_valgrind + +.PHONY: test/valgrind +test/valgrind: + cd -- '$(call escape,$(cmake_dir))' && ctest --verbose --tests-regex python_tests_valgrind + +.PHONY: test/all +test/all: test test/valgrind -- cgit v1.2.3