Skip to content

Commit 9d2ea18

Browse files
Trottaddaleax
authored andcommittedFeb 3, 2019
tools: add test-all-suites to Makefile
There is currently no Makefile target that runs every test suite. This adds one. PR-URL: #25799 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent 9f1bcd4 commit 9d2ea18

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎Makefile

+5-1
Original file line numberDiff line numberDiff line change
@@ -460,12 +460,16 @@ test-build-js-native-api: all build-js-native-api-tests
460460
test-build-node-api: all build-node-api-tests
461461

462462
.PHONY: test-all
463-
test-all: test-build ## Run everything in test/.
463+
test-all: test-build ## Run default tests with both Debug and Release builds.
464464
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release
465465

466466
test-all-valgrind: test-build
467467
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release --valgrind
468468

469+
.PHONY: test-all-suites
470+
test-all-suites: test-build test-js-native-api test-node-api | bench-addons-build ## Run all test suites.
471+
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) test/*
472+
469473
CI_NATIVE_SUITES ?= addons js-native-api node-api
470474
CI_JS_SUITES ?= default
471475
CI_DOC := doctool

0 commit comments

Comments
 (0)
Please sign in to comment.