From c8a3b2d171a856d550b077990e77ca0a60cc924a Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 18 Oct 2017 13:58:46 +0800 Subject: [PATCH] build: run linter before running tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/16284 Fixes: https://github.com/node/issues/16283 Reviewed-By: Rich Trott Reviewed-By: Gibson Fahnestock Reviewed-By: Refael Ackermann Reviewed-By: Luigi Pinca Reviewed-By: Michael Dawson Reviewed-By: Ruben Bridgewater Reviewed-By: Anatoli Papirovski Reviewed-By: Tobias Nießen Reviewed-By: Franziska Hinkelmann Reviewed-By: Richard Lau --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4e974903a93ebd..f051b3aaf1c008 100644 --- a/Makefile +++ b/Makefile @@ -213,15 +213,26 @@ test: all $(MAKE) build-addons $(MAKE) build-addons-napi $(MAKE) doc-only + $(MAKE) lint $(MAKE) cctest $(PYTHON) tools/test.py --mode=release -J \ $(CI_ASYNC_HOOKS) \ $(CI_JS_SUITES) \ $(CI_NATIVE_SUITES) \ doctool known_issues - $(MAKE) lint endif +# For a quick test, does not run linter or build doc +test-only: all + $(MAKE) build-addons + $(MAKE) build-addons-napi + $(MAKE) cctest + $(PYTHON) tools/test.py --mode=release -J \ + $(CI_ASYNC_HOOKS) \ + $(CI_JS_SUITES) \ + $(CI_NATIVE_SUITES) \ + known_issues + test-cov: all $(MAKE) build-addons $(MAKE) build-addons-napi @@ -1107,6 +1118,7 @@ endif test-gc \ test-gc-clean \ test-hash-seed \ + test-only \ test-v8 \ test-v8-all \ test-v8-benchmarks \