diff options
| author | Christian Göttsche | 2024-05-27 21:32:51 +0200 |
|---|---|---|
| committer | jvoisin | 2024-06-06 16:27:17 +0200 |
| commit | ab7b4162ca1c324540f95029f23164aa3b902024 (patch) | |
| tree | 9aa433983b8b8b44b3e36c1fae9a7537c0e78fff /Makefile | |
| parent | 97836fae360422baf9c62dd0eb0de6e7b2cfab09 (diff) | |
Add target to run tests incremental
Avoid the configure step each time during development.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -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 | ||
| 39 | tests: release ## compile a release build and run the testsuite | 39 | tests: release tests-incremental ## compile a release build and run the testsuite |
| 40 | |||
| 41 | tests-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 | ||
| 42 | coverage: ## compile snuffleugpaus, and run the testsuite with coverage | 45 | coverage: ## compile snuffleugpaus, and run the testsuite with coverage |
