summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2017-10-18 13:58:46 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2017-10-29 10:49:43 +0800
commit287545997288b038c0e8a84f44d338e4d1acc384 (patch)
tree07a9b96a75743d7e6feaba20ff01e33dfb060987 /Makefile
parenta70ef362ef8de8505ac9f140a4e803af9d706b77 (diff)
downloadandroid-node-v8-287545997288b038c0e8a84f44d338e4d1acc384.tar.gz
android-node-v8-287545997288b038c0e8a84f44d338e4d1acc384.tar.bz2
android-node-v8-287545997288b038c0e8a84f44d338e4d1acc384.zip
build: run linter before running tests
PR-URL: https://github.com/nodejs/node/pull/16284 Fixes: https://github.com/node/issues/16283 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4e974903a9..f051b3aaf1 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 \