Skip to content

Commit

Permalink
Add target to run tests incremental
Browse files Browse the repository at this point in the history
Avoid the configure step each time during development.
  • Loading branch information
cgzones committed May 27, 2024
1 parent 3015e95 commit 7e77b2f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
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
Expand Down

0 comments on commit 7e77b2f

Please sign in to comment.