diff options
Diffstat (limited to 'tools/wpt.ts')
-rwxr-xr-x | tools/wpt.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/wpt.ts b/tools/wpt.ts index 5d0c2e762..2b61682be 100755 --- a/tools/wpt.ts +++ b/tools/wpt.ts @@ -25,6 +25,7 @@ import { ManifestFolder, ManifestTestOptions, ManifestTestVariation, + noIgnore, quiet, rest, runPy, @@ -173,6 +174,9 @@ async function run() { test.options, inParallel ? () => {} : createReportTestCase(test.expectation), inspectBrk, + Deno.env.get("CI") + ? { long: 4 * 60_000, default: 4 * 60_000 } + : { long: 60_000, default: 10_000 }, ); results.push({ test, result }); if (inParallel) { @@ -332,6 +336,7 @@ async function update() { test.options, json ? () => {} : createReportTestCase(test.expectation), inspectBrk, + { long: 60_000, default: 10_000 }, ); results.push({ test, result }); reportVariation(result, test.expectation); @@ -367,7 +372,7 @@ async function update() { const currentExpectation = getExpectation(); - for (const result of Object.values(resultTests)) { + for (const [path, result] of Object.entries(resultTests)) { const { passed, failed, testSucceeded } = result; let finalExpectation: boolean | string[]; if (failed.length == 0 && testSucceeded) { @@ -699,7 +704,7 @@ function discoverTestsToRun( typeof expectation.ignore === "boolean", "test entry's `ignore` key must be a boolean", ); - if (expectation.ignore === true) continue; + if (expectation.ignore === true && !noIgnore) continue; } } |