From 7040ec94c848833d0645470ecc4b2d46c87748da Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Sat, 20 Dec 2025 19:54:01 +0100 Subject: [PATCH] build: update test-wpt-report to use NODE instead of OUT_NODE PR-URL: https://github.com/nodejs/node/pull/61024 Refs: https://openjs-foundation.slack.com/archives/C03BJP63CH0/p1765400746909869 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Chengzhong Wu Reviewed-By: Colin Ihrig --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0fcf860ee56..4a5265dc484 100644 --- a/Makefile +++ b/Makefile @@ -655,11 +655,15 @@ test-test426: all ## Run the Web Platform Tests. test-wpt: all ## Run the Web Platform Tests. $(PYTHON) tools/test.py $(PARALLEL_ARGS) wpt +# https://github.com/nodejs/node/blob/a00d95c73dcac8fc2b316238fb978a7d5aa650c6/.github/workflows/daily-wpt-fyi.yml#L71-L97 +# This uses NODE instead of OUT_NODE and if changes are to be made they'd need to be made on all +# non-EOL release lines' since the wpt.fyi job checks out the repository in a state of a given release +# to ensure future changes to the WPT runner don't need to be backported. .PHONY: test-wpt-report test-wpt-report: ## Run the Web Platform Tests and generate a report. $(RM) -r out/wpt mkdir -p out/wpt - -WPT_REPORT=1 $(PYTHON) tools/test.py --shell $(OUT_NODE) $(PARALLEL_ARGS) wpt + -WPT_REPORT=1 $(PYTHON) tools/test.py --shell $(NODE) $(PARALLEL_ARGS) wpt $(NODE) "$$PWD/tools/merge-wpt-reports.mjs" .PHONY: test-internet