summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Göttsche2024-05-27 21:32:51 +0200
committerjvoisin2024-06-06 16:27:17 +0200
commitab7b4162ca1c324540f95029f23164aa3b902024 (patch)
tree9aa433983b8b8b44b3e36c1fae9a7537c0e78fff
parent97836fae360422baf9c62dd0eb0de6e7b2cfab09 (diff)
Add target to run tests incremental
Avoid the configure step each time during development.
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6d5b004..1d92d2d 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,10 @@ linked-clone:
36 cp -r $$SRCDIR/tests . 36 cp -r $$SRCDIR/tests .
37 @echo -e "==> DONE. <==\nCompile a debug build with\n make compile_debug SRC=src-$(CLONE)" 37 @echo -e "==> DONE. <==\nCompile a debug build with\n make compile_debug SRC=src-$(CLONE)"
38 38
39tests: release ## compile a release build and run the testsuite 39tests: release tests-incremental ## compile a release build and run the testsuite
40
41tests-incremental: ## perform an incremental build and run the testsuite
42 make -C $(SRC)
40 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 SP_SKIP_OLD_PHP_CHECK=1 make -C $(SRC) test 43 TEST_PHP_ARGS='-q' REPORT_EXIT_STATUS=1 SP_SKIP_OLD_PHP_CHECK=1 make -C $(SRC) test
41 44
42coverage: ## compile snuffleugpaus, and run the testsuite with coverage 45coverage: ## compile snuffleugpaus, and run the testsuite with coverage