@@ -318,7 +318,7 @@ v8: ## Build deps/v8.
318318 tools/make-v8.sh $(V8_ARCH ) .$(BUILDTYPE_LOWER ) $(V8_BUILD_OPTIONS )
319319
320320.PHONY : jstest
321- jstest : build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests build-ffi-tests # # Run addon tests and JS tests.
321+ jstest : build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests # # Run addon tests and JS tests.
322322 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) \
323323 $(TEST_CI_ARGS ) \
324324 --skip-tests=$(CI_SKIP_TESTS ) \
@@ -344,7 +344,6 @@ test: all ## Run default tests and build docs.
344344 $(MAKE ) -s build-js-native-api-tests
345345 $(MAKE ) -s build-node-api-tests
346346 $(MAKE ) -s build-sqlite-tests
347- $(MAKE ) -s build-ffi-tests
348347 $(MAKE ) -s cctest
349348 $(MAKE ) -s jstest
350349
@@ -354,7 +353,6 @@ test-only: all ## Run default tests without building the docs.
354353 $(MAKE ) build-js-native-api-tests
355354 $(MAKE ) build-node-api-tests
356355 $(MAKE ) build-sqlite-tests
357- $(MAKE ) build-ffi-tests
358356 $(MAKE ) cctest
359357 $(MAKE ) jstest
360358 $(MAKE ) tooltest
@@ -366,7 +364,6 @@ test-cov: all ## Run coverage tests.
366364 $(MAKE ) build-js-native-api-tests
367365 $(MAKE ) build-node-api-tests
368366 $(MAKE ) build-sqlite-tests
369- $(MAKE ) build-ffi-tests
370367 $(MAKE ) cctest
371368 CI_SKIP_TESTS=$(COV_SKIP_TESTS ) $(MAKE ) jstest
372369
@@ -545,29 +542,6 @@ else
545542build-sqlite-tests :
546543endif
547544
548- FFI_BINDING_GYPS := $(wildcard test/ffi/* /binding.gyp)
549-
550- FFI_BINDING_SOURCES := \
551- $(wildcard test/ffi/* /* .c) \
552- $(wildcard test/ffi/* /* .def)
553-
554- ifndef NOFFI
555- # Depends on $(NODE_EXE) as order-only to avoid ETXTBSY on AIX when make
556- # tries to execute node while it is still being linked in parallel.
557- test/ffi/.buildstamp : $(ADDONS_PREREQS ) \
558- $(FFI_BINDING_GYPS ) $(FFI_BINDING_SOURCES ) | $(NODE_EXE )
559- @$(call run_build_addons,"$$PWD/test/ffi",$@ )
560- else
561- test/ffi/.buildstamp :
562- endif
563-
564- .PHONY : build-ffi-tests
565- ifndef NOFFI
566- build-ffi-tests : | test/ffi/.buildstamp # # Build FFI tests.
567- else
568- build-ffi-tests :
569- endif
570-
571545.PHONY : clear-stalled
572546clear-stalled : # # Clear any stalled processes.
573547 $(info Clean up any leftover processes but don't error if found.)
@@ -578,7 +552,7 @@ clear-stalled: ## Clear any stalled processes.
578552 fi
579553
580554.PHONY : test-build
581- test-build : | all build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests build-ffi-tests # # Build all tests.
555+ test-build : | all build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests # # Build all tests.
582556
583557.PHONY : test-build-js-native-api
584558test-build-js-native-api : all build-js-native-api-tests # # Build JS Native-API tests.
@@ -589,8 +563,6 @@ test-build-node-api: all build-node-api-tests ## Build Node-API tests.
589563.PHONY : test-build-sqlite
590564test-build-sqlite : all build-sqlite-tests # # Build SQLite tests.
591565
592- .PHONY : test-build-ffi
593- test-build-ffi : all build-ffi-tests # # Build FFI tests.
594566
595567.PHONY : test-all
596568test-all : test-build # # Run default tests with both Debug and Release builds.
@@ -619,7 +591,7 @@ endif
619591
620592# Related CI job: node-test-commit-arm-fanned
621593test-ci-native : LOGLEVEL := info # # Build and test addons without building anything else.
622- test-ci-native : | benchmark/napi/.buildstamp test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp test/sqlite/.buildstamp test/ffi/.buildstamp
594+ test-ci-native : | benchmark/napi/.buildstamp test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp test/sqlite/.buildstamp
623595 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
624596 --mode=$(BUILDTYPE_LOWER ) --flaky-tests=$(FLAKY_TESTS ) \
625597 $(TEST_CI_ARGS ) $(CI_NATIVE_SUITES )
@@ -642,7 +614,7 @@ test-ci-js: | clear-stalled ## Build and test JavaScript with building anything
642614.PHONY : test-ci
643615# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
644616test-ci : LOGLEVEL := info # # Build and test everything (CI).
645- test-ci : | clear-stalled bench-addons-build build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests build-ffi-tests doc-only
617+ test-ci : | clear-stalled bench-addons-build build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests doc-only
646618 out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
647619 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
648620 --mode=$(BUILDTYPE_LOWER ) --flaky-tests=$(FLAKY_TESTS ) \
@@ -660,7 +632,6 @@ test-ci: | clear-stalled bench-addons-build build-addons build-js-native-api-tes
660632build-ci : # # Build everything (CI).
661633 $(PYTHON ) ./configure --verbose $(CONFIG_FLAGS )
662634 $(MAKE )
663- $(MAKE ) build-ffi-tests
664635
665636.PHONY : run-ci
666637# Run by CI tests, exceptions:
@@ -763,16 +734,6 @@ test-sqlite-clean: ## Remove SQLite testing artifacts.
763734 $(RM ) -r test/sqlite/* /build
764735 $(RM ) test/sqlite/.buildstamp
765736
766- .PHONY : test-ffi
767- test-ffi : test-build-ffi # # Run FFI tests.
768- $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) ffi
769-
770- .PHONY : test-ffi-clean
771- .NOTPARALLEL : test-ffi-clean
772- test-ffi-clean : # # Remove FFI testing artifacts.
773- $(RM ) -r test/ffi/* /build
774- $(RM ) test/ffi/.buildstamp
775-
776737.PHONY : test-addons
777738test-addons : test-build test-js-native-api test-node-api # # Run addon tests.
778739 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) addons
@@ -1267,7 +1228,6 @@ ifeq ($(SKIP_SHARED_DEPS), 1)
12671228 $(RM) -r $(TARNAME)/deps/icu-small
12681229 $(RM) -r $(TARNAME)/deps/icu-tmp
12691230 $(RM) -r $(TARNAME)/deps/LIEF
1270- $(RM) -r $(TARNAME)/deps/libffi
12711231 $(RM) -r $(TARNAME)/deps/llhttp
12721232 $(RM) -r $(TARNAME)/deps/merve
12731233 $(RM) -r $(TARNAME)/deps/nbytes
@@ -1542,7 +1502,6 @@ LINT_CPP_FILES = $(filter-out $(LINT_CPP_EXCLUDE), $(wildcard \
15421502 test/embedding/* .cc \
15431503 test/embedding/* .h \
15441504 test/sqlite/* /* .c \
1545- test/ffi/* /* .c \
15461505 test/fixtures/* .c \
15471506 test/js-native-api/* /* .cc \
15481507 test/node-api/* /* .cc \
@@ -1567,7 +1526,6 @@ FORMAT_CPP_FILES += $(wildcard \
15671526 test/node-api/* /* .c \
15681527 test/node-api/* /* .h \
15691528 test/sqlite/* /* .c \
1570- test/ffi/* /* .c \
15711529 )
15721530
15731531# Code blocks don't have newline at the end,
0 commit comments