295295 tools/make-v8.sh $(V8_ARCH ) .$(BUILDTYPE_LOWER ) $(V8_BUILD_OPTIONS )
296296
297297.PHONY : jstest
298- jstest : build-addons build-abort-tests build- js-native-api-tests build-node-api-tests # # Runs addon tests and JS tests
298+ jstest : build-addons build-js-native-api-tests build-node-api-tests # # Runs addon tests and JS tests
299299 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) \
300300 --skip-tests=$(CI_SKIP_TESTS ) \
301301 $(CI_JS_SUITES ) \
@@ -319,7 +319,6 @@ test: all ## Runs default tests, linters, and builds docs.
319319 $(MAKE ) -s tooltest
320320 $(MAKE ) -s test-doc
321321 $(MAKE ) -s build-addons
322- $(MAKE ) -s build-abort-tests
323322 $(MAKE ) -s build-js-native-api-tests
324323 $(MAKE ) -s build-node-api-tests
325324 $(MAKE ) -s cctest
@@ -328,7 +327,6 @@ test: all ## Runs default tests, linters, and builds docs.
328327.PHONY : test-only
329328test-only : all # # For a quick test, does not run linter or build docs.
330329 $(MAKE ) build-addons
331- $(MAKE ) build-abort-tests
332330 $(MAKE ) build-js-native-api-tests
333331 $(MAKE ) build-node-api-tests
334332 $(MAKE ) cctest
@@ -338,7 +336,6 @@ test-only: all ## For a quick test, does not run linter or build docs.
338336# Used by `make coverage-test`
339337test-cov : all
340338 $(MAKE ) build-addons
341- $(MAKE ) build-abort-tests
342339 $(MAKE ) build-js-native-api-tests
343340 $(MAKE ) build-node-api-tests
344341 $(MAKE ) cctest
@@ -458,31 +455,6 @@ test/node-api/.buildstamp: $(ADDONS_PREREQS) \
458455# TODO(bnoordhuis) Force rebuild after gyp or node-gyp update.
459456build-node-api-tests : | $(NODE_EXE ) test/node-api/.buildstamp
460457
461- ABORT_BINDING_GYPS := \
462- $(filter-out test/abort/??_* /binding.gyp, \
463- $(wildcard test/abort/* /binding.gyp) )
464-
465- ABORT_BINDING_SOURCES := \
466- $(filter-out test/abort/??_* /* .c, $(wildcard test/abort/* /* .c) ) \
467- $(filter-out test/abort/??_* /* .cc, $(wildcard test/abort/* /* .cc) ) \
468- $(filter-out test/abort/??_* /* .h, $(wildcard test/abort/* /* .h) )
469-
470- # Implicitly depends on $(NODE_EXE), see the build-node-api-tests rule for rationale.
471- test/abort/.buildstamp : $(ADDONS_PREREQS ) \
472- $(ABORT_BINDING_GYPS ) $(ABORT_BINDING_SOURCES ) \
473- src/node_api.h src/node_api_types.h src/js_native_api.h \
474- src/js_native_api_types.h src/js_native_api_v8.h src/js_native_api_v8_internals.h
475- @$(call run_build_addons,"$$PWD/test/abort",$@ )
476-
477- .PHONY : build-abort-tests
478- # .buildstamp needs $(NODE_EXE) but cannot depend on it
479- # directly because it calls make recursively. The parent make cannot know
480- # if the subprocess touched anything so it pessimistically assumes that
481- # .buildstamp is out of date and need a rebuild.
482- # Just goes to show that recursive make really is harmful...
483- # TODO(bnoordhuis) Force rebuild after gyp or node-gyp update.
484- build-abort-tests : | $(NODE_EXE ) test/abort/.buildstamp
485-
486458BENCHMARK_NAPI_BINDING_GYPS := $(wildcard benchmark/napi/* /binding.gyp)
487459
488460BENCHMARK_NAPI_BINDING_SOURCES := \
@@ -503,14 +475,12 @@ clear-stalled:
503475 echo $$ {PS_OUT} | xargs kill -9; \
504476 fi
505477
506- test-build : | all build-addons build-abort-tests build- js-native-api-tests build-node-api-tests
478+ test-build : | all build-addons build-js-native-api-tests build-node-api-tests
507479
508480test-build-js-native-api : all build-js-native-api-tests
509481
510482test-build-node-api : all build-node-api-tests
511483
512- test-build-abort : all build-abort-tests
513-
514484.PHONY : test-all
515485test-all : test-build # # Run default tests with both Debug and Release builds.
516486 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=debug,release
@@ -523,7 +493,7 @@ test-all-suites: | clear-stalled test-build bench-addons-build doc-only ## Run a
523493 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) test/*
524494
525495# CI_* variables should be kept synchronized with the ones in vcbuild.bat
526- CI_NATIVE_SUITES ?= addons js-native-api node-api abort
496+ CI_NATIVE_SUITES ?= addons js-native-api node-api
527497CI_JS_SUITES ?= default
528498ifeq ($(node_use_openssl ) , false)
529499 CI_DOC := doctool
@@ -535,7 +505,7 @@ endif
535505# Build and test addons without building anything else
536506# Related CI job: node-test-commit-arm-fanned
537507test-ci-native : LOGLEVEL := info
538- test-ci-native : | test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp test/abort/.buildstamp
508+ test-ci-native : | test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp
539509 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
540510 --mode=$(BUILDTYPE_LOWER ) --flaky-tests=$(FLAKY_TESTS ) \
541511 $(TEST_CI_ARGS ) $(CI_NATIVE_SUITES )
@@ -557,7 +527,7 @@ test-ci-js: | clear-stalled
557527.PHONY : test-ci
558528# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
559529test-ci : LOGLEVEL := info
560- test-ci : | clear-stalled build-addons build-abort-tests build- js-native-api-tests build-node-api-tests doc-only
530+ test-ci : | clear-stalled build-addons build-js-native-api-tests build-node-api-tests doc-only
561531 out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
562532 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
563533 --mode=$(BUILDTYPE_LOWER ) --flaky-tests=$(FLAKY_TESTS ) \
@@ -663,17 +633,8 @@ test-node-api-clean:
663633 $(RM ) -r test/node-api/* /build
664634 $(RM ) test/node-api/.buildstamp
665635
666- .PHONY : test-abort
667- test-abort : test-build-abort
668- $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) test-abort
669-
670- .PHONY : test-abort-clean
671- test-abort-clean :
672- $(RM ) -r test/abort/* /build
673- $(RM ) test/abort/.buildstamp
674-
675636.PHONY : test-addons
676- test-addons : test-build test-js-native-api test-node-api test-abort
637+ test-addons : test-build test-js-native-api test-node-api
677638 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) addons
678639
679640.PHONY : test-addons-clean
@@ -683,7 +644,6 @@ test-addons-clean:
683644 $(RM ) test/addons/.buildstamp test/addons/.docbuildstamp
684645 $(MAKE ) test-js-native-api-clean
685646 $(MAKE ) test-node-api-clean
686- $(MAKE ) test-abort-clean
687647
688648test-async-hooks :
689649 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) async-hooks
@@ -692,7 +652,6 @@ test-with-async-hooks:
692652 $(MAKE ) build-addons
693653 $(MAKE ) build-js-native-api-tests
694654 $(MAKE ) build-node-api-tests
695- $(MAKE ) build-abort-tests
696655 $(MAKE ) cctest
697656 NODE_TEST_WITH_ASYNC_HOOKS=1 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) \
698657 $(CI_JS_SUITES ) \
0 commit comments