summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRichard Lau <rlau@redhat.com>2022-04-05 10:46:16 -0400
committerMichaƫl Zasso <targos@protonmail.com>2022-04-21 11:56:01 +0200
commit899753c034cd8a488b76b96da6626f4edd570a29 (patch)
tree4414b249e70aa5e7cc4163866131b8b775d301a2 /Makefile
parente369671463e65a6d58cacb18d7beb892a8a794cb (diff)
downloadnode-new-899753c034cd8a488b76b96da6626f4edd570a29.tar.gz
build: run V8 tests with detected Python version
V8's test runner now requires Python 3. Use the Python binary we detected that is used elsewhere in the Makefile. PR-URL: https://github.com/nodejs/node/pull/42740 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4aace77c7c..a6549a8474 100644
--- a/Makefile
+++ b/Makefile
@@ -679,7 +679,7 @@ 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.
export PATH="$(NO_BIN_OVERRIDE_PATH)" && \
- deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) $(V8_TEST_OPTIONS) \
+ $(PYTHON) deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) $(V8_TEST_OPTIONS) \
mjsunit cctest debugger inspector message preparser \
$(TAP_V8)
$(info Testing hash seed)
@@ -687,13 +687,13 @@ test-v8: v8 ## Runs the V8 test suite on deps/v8.
test-v8-intl: v8
export PATH="$(NO_BIN_OVERRIDE_PATH)" && \
- deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) \
+ $(PYTHON) deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) \
intl \
$(TAP_V8_INTL)
test-v8-benchmarks: v8
export PATH="$(NO_BIN_OVERRIDE_PATH)" && \
- deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) \
+ $(PYTHON) deps/v8/tools/run-tests.py --gn --arch=$(V8_ARCH) \
benchmarks \
$(TAP_V8_BENCHMARKS)