From e1aa9438ead2093a536e5981da7097c9196e7113 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Tue, 29 Jan 2019 11:28:27 -0800 Subject: [PATCH] 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 Reviewed-By: Michael Dawson Reviewed-By: Refael Ackermann --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fc88d632c94afa..db8a623553bbf3 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