summaryrefslogtreecommitdiff
path: root/tools/wpt/runner.ts
diff options
context:
space:
mode:
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,
"[]",
],