From 996cedd19a9f02b9fa7ce96a600b5d0c4d8aa856 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 b642c04b2d..526d6705af 100644 --- a/Makefile +++ b/Makefile @@ -216,15 +216,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 @@ -1110,6 +1121,7 @@ endif test-gc \ test-gc-clean \ test-hash-seed \ + test-only \ test-v8 \ test-v8-all \ test-v8-benchmarks \