From d6d74ba39167be10870e9a6eef17ae022b67074c Mon Sep 17 00:00:00 2001 From: Dmitry Volyntsev Date: Thu, 5 Dec 2024 19:53:11 -0800 Subject: [PATCH] Test262: skipping individual tests. --- test/harness/runTsuite.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/harness/runTsuite.js b/test/harness/runTsuite.js index f7ec8f48..5ba0ef46 100644 --- a/test/harness/runTsuite.js +++ b/test/harness/runTsuite.js @@ -22,6 +22,10 @@ async function run(tlist) { function map(ts) { return ts.tests.map(t => { try { + if (t.skip && t.skip()) { + return Promise.resolve("SKIPPED"); + } + return ts.T(ts.prepare_args(t, ts.opts)); } catch (e) { -- 2.47.3