From ab7b4162ca1c324540f95029f23164aa3b902024 Mon Sep 17 00:00:00 2001 From: Christian Göttsche Date: Mon, 27 May 2024 21:32:51 +0200 Subject: Add target to run tests incremental Avoid the configure step each time during development. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6d5b004..1d92d2d 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,10 @@ linked-clone: cp -r $$SRCDIR/tests . @echo -e "==> DONE. <==\nCompile a debug build with\n make compile_debug SRC=src-$(CLONE)" -tests: release ## compile a release build and run the testsuite +tests: release tests-incremental ## compile a release build and run the testsuite + +tests-incremental: ## perform an incremental build and run the testsuite + make -C $(SRC) TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 SP_SKIP_OLD_PHP_CHECK=1 make -C $(SRC) test coverage: ## compile snuffleugpaus, and run the testsuite with coverage -- cgit v1.3