292
292
tools/make-v8.sh $(V8_ARCH ) .$(BUILDTYPE_LOWER ) $(V8_BUILD_OPTIONS )
293
293
294
294
.PHONY : jstest
295
- jstest : build-addons build-abort-tests build- js-native-api-tests build-node-api-tests # # Runs addon tests and JS tests
295
+ jstest : build-addons build-js-native-api-tests build-node-api-tests # # Runs addon tests and JS tests
296
296
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) \
297
297
--skip-tests=$(CI_SKIP_TESTS ) \
298
298
$(CI_JS_SUITES ) \
@@ -316,7 +316,6 @@ test: all ## Runs default tests, linters, and builds docs.
316
316
$(MAKE ) -s tooltest
317
317
$(MAKE ) -s test-doc
318
318
$(MAKE ) -s build-addons
319
- $(MAKE ) -s build-abort-tests
320
319
$(MAKE ) -s build-js-native-api-tests
321
320
$(MAKE ) -s build-node-api-tests
322
321
$(MAKE ) -s cctest
@@ -325,7 +324,6 @@ test: all ## Runs default tests, linters, and builds docs.
325
324
.PHONY : test-only
326
325
test-only : all # # For a quick test, does not run linter or build docs.
327
326
$(MAKE ) build-addons
328
- $(MAKE ) build-abort-tests
329
327
$(MAKE ) build-js-native-api-tests
330
328
$(MAKE ) build-node-api-tests
331
329
$(MAKE ) cctest
@@ -335,7 +333,6 @@ test-only: all ## For a quick test, does not run linter or build docs.
335
333
# Used by `make coverage-test`
336
334
test-cov : all
337
335
$(MAKE ) build-addons
338
- $(MAKE ) build-abort-tests
339
336
$(MAKE ) build-js-native-api-tests
340
337
$(MAKE ) build-node-api-tests
341
338
$(MAKE ) cctest
@@ -455,31 +452,6 @@ test/node-api/.buildstamp: $(ADDONS_PREREQS) \
455
452
# TODO(bnoordhuis) Force rebuild after gyp or node-gyp update.
456
453
build-node-api-tests : | $(NODE_EXE ) test/node-api/.buildstamp
457
454
458
- ABORT_BINDING_GYPS := \
459
- $(filter-out test/abort/??_* /binding.gyp, \
460
- $(wildcard test/abort/* /binding.gyp) )
461
-
462
- ABORT_BINDING_SOURCES := \
463
- $(filter-out test/abort/??_* /* .c, $(wildcard test/abort/* /* .c) ) \
464
- $(filter-out test/abort/??_* /* .cc, $(wildcard test/abort/* /* .cc) ) \
465
- $(filter-out test/abort/??_* /* .h, $(wildcard test/abort/* /* .h) )
466
-
467
- # Implicitly depends on $(NODE_EXE), see the build-node-api-tests rule for rationale.
468
- test/abort/.buildstamp : $(ADDONS_PREREQS ) \
469
- $(ABORT_BINDING_GYPS ) $(ABORT_BINDING_SOURCES ) \
470
- src/node_api.h src/node_api_types.h src/js_native_api.h \
471
- src/js_native_api_types.h src/js_native_api_v8.h src/js_native_api_v8_internals.h
472
- @$(call run_build_addons,"$$PWD/test/abort",$@ )
473
-
474
- .PHONY : build-abort-tests
475
- # .buildstamp needs $(NODE_EXE) but cannot depend on it
476
- # directly because it calls make recursively. The parent make cannot know
477
- # if the subprocess touched anything so it pessimistically assumes that
478
- # .buildstamp is out of date and need a rebuild.
479
- # Just goes to show that recursive make really is harmful...
480
- # TODO(bnoordhuis) Force rebuild after gyp or node-gyp update.
481
- build-abort-tests : | $(NODE_EXE ) test/abort/.buildstamp
482
-
483
455
BENCHMARK_NAPI_BINDING_GYPS := $(wildcard benchmark/napi/* /binding.gyp)
484
456
485
457
BENCHMARK_NAPI_BINDING_SOURCES := \
@@ -500,14 +472,12 @@ clear-stalled:
500
472
echo $$ {PS_OUT} | xargs kill -9; \
501
473
fi
502
474
503
- test-build : | all build-addons build-abort-tests build- js-native-api-tests build-node-api-tests
475
+ test-build : | all build-addons build-js-native-api-tests build-node-api-tests
504
476
505
477
test-build-js-native-api : all build-js-native-api-tests
506
478
507
479
test-build-node-api : all build-node-api-tests
508
480
509
- test-build-abort : all build-abort-tests
510
-
511
481
.PHONY : test-all
512
482
test-all : test-build # # Run default tests with both Debug and Release builds.
513
483
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=debug,release
@@ -520,7 +490,7 @@ test-all-suites: | clear-stalled test-build bench-addons-build doc-only ## Run a
520
490
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) test/*
521
491
522
492
# CI_* variables should be kept synchronized with the ones in vcbuild.bat
523
- CI_NATIVE_SUITES ?= addons js-native-api node-api abort
493
+ CI_NATIVE_SUITES ?= addons js-native-api node-api
524
494
CI_JS_SUITES ?= default
525
495
ifeq ($(node_use_openssl ) , false)
526
496
CI_DOC := doctool
@@ -532,7 +502,7 @@ endif
532
502
# Build and test addons without building anything else
533
503
# Related CI job: node-test-commit-arm-fanned
534
504
test-ci-native : LOGLEVEL := info
535
- test-ci-native : | test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp test/abort/.buildstamp
505
+ test-ci-native : | test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp
536
506
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
537
507
--mode=$(BUILDTYPE_LOWER ) --flaky-tests=$(FLAKY_TESTS ) \
538
508
$(TEST_CI_ARGS ) $(CI_NATIVE_SUITES )
@@ -554,7 +524,7 @@ test-ci-js: | clear-stalled
554
524
.PHONY : test-ci
555
525
# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
556
526
test-ci : LOGLEVEL := info
557
- test-ci : | clear-stalled build-addons build-abort-tests build- js-native-api-tests build-node-api-tests doc-only
527
+ test-ci : | clear-stalled build-addons build-js-native-api-tests build-node-api-tests doc-only
558
528
out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
559
529
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
560
530
--mode=$(BUILDTYPE_LOWER ) --flaky-tests=$(FLAKY_TESTS ) \
@@ -659,17 +629,8 @@ test-node-api-clean:
659
629
$(RM ) -r test/node-api/* /build
660
630
$(RM ) test/node-api/.buildstamp
661
631
662
- .PHONY : test-abort
663
- test-abort : test-build-abort
664
- $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) test-abort
665
-
666
- .PHONY : test-abort-clean
667
- test-abort-clean :
668
- $(RM ) -r test/abort/* /build
669
- $(RM ) test/abort/.buildstamp
670
-
671
632
.PHONY : test-addons
672
- test-addons : test-build test-js-native-api test-node-api test-abort
633
+ test-addons : test-build test-js-native-api test-node-api
673
634
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) addons
674
635
675
636
.PHONY : test-addons-clean
@@ -679,7 +640,6 @@ test-addons-clean:
679
640
$(RM ) test/addons/.buildstamp test/addons/.docbuildstamp
680
641
$(MAKE ) test-js-native-api-clean
681
642
$(MAKE ) test-node-api-clean
682
- $(MAKE ) test-abort-clean
683
643
684
644
test-async-hooks :
685
645
$(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) async-hooks
@@ -688,7 +648,6 @@ test-with-async-hooks:
688
648
$(MAKE ) build-addons
689
649
$(MAKE ) build-js-native-api-tests
690
650
$(MAKE ) build-node-api-tests
691
- $(MAKE ) build-abort-tests
692
651
$(MAKE ) cctest
693
652
NODE_TEST_WITH_ASYNC_HOOKS=1 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) \
694
653
$(CI_JS_SUITES ) \
0 commit comments