summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBenjamin Coe <ben@npmjs.com>2018-05-16 18:03:53 -0700
committerAnatoli Papirovski <apapirovski@mac.com>2018-05-22 12:45:54 +0400
commit16377146b6ef24130c3a8ae1657328eaafb963ff (patch)
tree3acddefe57e57d33f79b6a7e852be05cfe5c8c5f /Makefile
parente3166554684ccba7f4a16fc827f8cd048e2d2c84 (diff)
downloadandroid-node-v8-16377146b6ef24130c3a8ae1657328eaafb963ff.tar.gz
android-node-v8-16377146b6ef24130c3a8ae1657328eaafb963ff.tar.bz2
android-node-v8-16377146b6ef24130c3a8ae1657328eaafb963ff.zip
test: fix tests that fail under coverage
Make test runner capable of skipping tests, which makes it possible to skip the failing test/message/core_line_numbers.js test. Make nyc no longer generate compact instrumentation (this causes significantly different code output, which leads to failing test assertions). PR-URL: https://github.com/nodejs/node/pull/20794 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index addcc5f9f1..a7099947c7 100644
--- a/Makefile
+++ b/Makefile
@@ -233,6 +233,7 @@ v8:
.PHONY: jstest
jstest: build-addons build-addons-napi ## Runs addon tests and JS tests
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) \
+ --skip-tests=$(CI_SKIP_TESTS) \
$(CI_JS_SUITES) \
$(CI_NATIVE_SUITES)
@@ -263,8 +264,7 @@ test-cov: all
$(MAKE) build-addons
$(MAKE) build-addons-napi
# $(MAKE) cctest
- $(MAKE) jstest
- $(MAKE) lint
+ CI_SKIP_TESTS=core_line_numbers.js $(MAKE) jstest
test-parallel: all
$(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) parallel