diff --git a/Makefile b/Makefile index b11168aaa456af..424818eac49eed 100644 --- a/Makefile +++ b/Makefile @@ -560,6 +560,7 @@ test-with-async-hooks: .PHONY: test-v8-all .PHONY: test-v8-benchmarks .PHONY: test-v8-intl +.PHONY: test-v8-updates ifneq ("","$(wildcard deps/v8/tools/run-tests.py)") # Related CI job: node-test-commit-v8-linux test-v8: v8 ## Runs the V8 test suite on deps/v8. @@ -580,7 +581,10 @@ test-v8-benchmarks: v8 benchmarks \ $(TAP_V8_BENCHMARKS) -test-v8-all: test-v8 test-v8-intl test-v8-benchmarks +test-v8-updates: + $(PYTHON) tools/test.py $(PARALLEL_ARGS) --mode=$(BUILDTYPE_LOWER) v8-updates + +test-v8-all: test-v8 test-v8-intl test-v8-benchmarks test-v8-updates # runs all v8 tests else test-v8 test-v8-intl test-v8-benchmarks test-v8-all: diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index acc0c95b6a953b..fbb105e54cfae4 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -5,8 +5,6 @@ prefix parallel # sample-test : PASS,FLAKY [true] # This section applies to all platforms -# Postmortem debugging data is prone to accidental removal during V8 updates. -test-postmortem-metadata: PASS,FLAKY [$system==win32] test-child-process-fork-net-socket: PASS,FLAKY diff --git a/test/parallel/test-postmortem-metadata.js b/test/v8-updates/test-postmortem-metadata.js similarity index 100% rename from test/parallel/test-postmortem-metadata.js rename to test/v8-updates/test-postmortem-metadata.js diff --git a/test/v8-updates/testcfg.py b/test/v8-updates/testcfg.py new file mode 100644 index 00000000000000..cec2589f9b4c20 --- /dev/null +++ b/test/v8-updates/testcfg.py @@ -0,0 +1,6 @@ +import sys, os +sys.path.append(os.path.join(os.path.dirname(__file__), '..')) +import testpy + +def GetConfiguration(context, root): + return testpy.ParallelTestConfiguration(context, root, 'v8-updates') diff --git a/test/v8-updates/v8-updates.status b/test/v8-updates/v8-updates.status new file mode 100644 index 00000000000000..46149f4751ffb5 --- /dev/null +++ b/test/v8-updates/v8-updates.status @@ -0,0 +1,21 @@ +prefix v8-updates + +# To mark a test as flaky, list the test name in the appropriate section +# below, without ".js", followed by ": PASS,FLAKY". Example: +# sample-test : PASS,FLAKY + +[true] # This section applies to all platforms + +[$system==win32] + +[$system==linux] + +[$system==macos] + +[$arch==arm || $arch==arm64] + +[$system==solaris] # Also applies to SmartOS + +[$system==freebsd] + +[$system==aix] diff --git a/tools/test.py b/tools/test.py index 27a27224389e41..5bda606cc87459 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1555,7 +1555,8 @@ def PrintCrashed(code): 'pummel', 'test-known-issues', 'tick-processor', - 'timers' + 'timers', + 'v8-updates' ]