From f9919e233b6a37cad3f52ba57578f68009a7ce73 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 --- 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 \