summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2019-01-29 11:28:27 -0800
committerRich Trott <rtrott@gmail.com>2019-02-01 15:40:46 -0800
commite1aa9438ead2093a536e5981da7097c9196e7113 (patch)
treedf1dc52bed5ffcd2f95423eccad0a7ad898fe8ac /Makefile
parent5e0a3261f0e61b50f03e65e0134d4a01475c0cf1 (diff)
downloadandroid-node-v8-e1aa9438ead2093a536e5981da7097c9196e7113.tar.gz
android-node-v8-e1aa9438ead2093a536e5981da7097c9196e7113.tar.bz2
android-node-v8-e1aa9438ead2093a536e5981da7097c9196e7113.zip
tools: add test-all-suites to Makefile
There is currently no Makefile target that runs every test suite. This adds one. PR-URL: https://github.com/nodejs/node/pull/25799 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fc88d632c9..db8a623553 100644
--- a/Makefile
+++ b/Makefile
@@ -460,12 +460,16 @@ test-build-js-native-api: all build-js-native-api-tests
test-build-node-api: all build-node-api-tests
.PHONY: test-all
-test-all: test-build ## Run everything in test/.
+test-all: test-build ## Run default tests with both Debug and Release builds.
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release
test-all-valgrind: test-build
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=debug,release --valgrind
+.PHONY: test-all-suites
+test-all-suites: test-build test-js-native-api test-node-api | bench-addons-build ## Run all test suites.
+ $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) test/*
+
CI_NATIVE_SUITES ?= addons js-native-api node-api
CI_JS_SUITES ?= default
CI_DOC := doctool