@@ -321,7 +321,9 @@ v8: ## Build deps/v8.
321321 tools/make-v8.sh $(V8_ARCH ) .$(BUILDTYPE_LOWER ) $(V8_BUILD_OPTIONS )
322322
323323.PHONY : jstest
324- jstest : build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests build-ffi-tests # # Run addon tests and JS tests.
324+ # # Run addon tests and JS tests.
325+ jstest : build-addons build-js-native-api-tests build-node-api-tests build-sqlite-tests build-ffi-tests $(TRACE_PROCESSOR_SHELL_PATH ) )
326+ @out/$(BUILDTYPE ) /cctest --gtest_list_tests
325327 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) --mode=$(BUILDTYPE_LOWER ) \
326328 $(TEST_CI_ARGS ) \
327329 --skip-tests=$(CI_SKIP_TESTS ) \
@@ -348,8 +350,10 @@ ifeq ($(TRACE_PROCESSOR_SHELL_PATH),tools/perfetto/trace_processor_shell)
348350TRACE_PROCESSOR_SHELL_DEPS = deps/perfetto/VERSION
349351endif
350352
353+ ifneq (/dev/null,$(TRACE_PROCESSOR_SHELL_PATH ) )
351354$(TRACE_PROCESSOR_SHELL_PATH ) : $(TRACE_PROCESSOR_SHELL_DEPS )
352355 @tools/perfetto/get_trace_processor $@
356+ endif
353357
354358.PHONY : test
355359# This does not run tests of third-party libraries inside deps.
@@ -655,7 +659,7 @@ test-ci-js: | clear-stalled ## Build and test JavaScript with building anything
655659.PHONY : test-ci
656660# Related CI jobs: most CI tests, excluding node-test-commit-arm-fanned
657661test-ci : LOGLEVEL := info # # Build and test everything (CI).
658- 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
662+ 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 $( TRACE_PROCESSOR_SHELL_PATH )
659663 out/Release/cctest --gtest_output=xml:out/junit/cctest.xml
660664 $(PYTHON ) tools/test.py $(PARALLEL_ARGS ) -p tap --logfile test.tap \
661665 --mode=$(BUILDTYPE_LOWER ) --flaky-tests=$(FLAKY_TESTS ) \
0 commit comments