summaryrefslogtreecommitdiff
path: root/tools/wpt/runner.ts
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-06-07 19:16:27 +0200
committerGitHub <noreply@github.com>2021-06-07 19:16:27 +0200
commit8e96961f0e0c91a6acf73a35e03dda826108e152 (patch)
tree6d7c5ad8d1c2d6288ffc7a2242a273ad999c1c29 /tools/wpt/runner.ts
parentd9df4347a1fbf0cf9d057fc111e4a890b0f16681 (diff)
chore: update wpt (#10884)
This commit updates wpt. It tries to get us ever closer to eventually stop floating patches, and being able to use wpt upstream.
Diffstat (limited to 'tools/wpt/runner.ts')
-rw-r--r--tools/wpt/runner.ts9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts
index 52768f079..3a412a56c 100644
--- a/tools/wpt/runner.ts
+++ b/tools/wpt/runner.ts
@@ -7,7 +7,12 @@ export async function runWithTestUtil<T>(
verbose: boolean,
f: () => Promise<T>,
): Promise<T> {
- const proc = runPy(["wpt", "serve"], {
+ const proc = runPy([
+ "wpt",
+ "serve",
+ "--config",
+ "../../tools/wpt/config.json",
+ ], {
stdout: verbose ? "inherit" : "piped",
stderr: verbose ? "inherit" : "piped",
});
@@ -90,7 +95,7 @@ export async function runSingleTest(
"--location",
url.toString(),
"--cert",
- join(ROOT_PATH, `./test_util/wpt/tools/certs/cacert.pem`),
+ join(ROOT_PATH, `./tools/wpt/certs/cacert.pem`),
tempFile,
"[]",
],