summaryrefslogtreecommitdiff
path: root/tools/wpt/utils.ts
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-02-16 14:32:28 +1100
committerGitHub <noreply@github.com>2024-02-16 03:32:28 +0000
commit5596de8081970a6fa811b95e60a27dca071a714e (patch)
treec4772533f3a7b2c9945cb8f0797e4ec38fc637a9 /tools/wpt/utils.ts
parent4f80d83774ce5402a2b10503529fe422c998b841 (diff)
chore: move `test_util/wpt` to `tests/wpt/suite` (#22412)
As discussed with @mmastrac. I'll move `tools/wpt` to `tests/wpt` in a follow-up PR. --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'tools/wpt/utils.ts')
-rw-r--r--tools/wpt/utils.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/wpt/utils.ts b/tools/wpt/utils.ts
index aa1d6d115..bc25505bd 100644
--- a/tools/wpt/utils.ts
+++ b/tools/wpt/utils.ts
@@ -130,7 +130,7 @@ export function runPy<T extends Omit<Deno.CommandOptions, "cwd">>(
stdout: "inherit",
stderr: "inherit",
...options,
- cwd: join(ROOT_PATH, "./test_util/wpt/"),
+ cwd: join(ROOT_PATH, "./tests/wpt/suite/"),
}).spawn();
}
@@ -181,13 +181,13 @@ export async function generateRunInfo(): Promise<unknown> {
};
const proc = await new Deno.Command("git", {
args: ["rev-parse", "HEAD"],
- cwd: join(ROOT_PATH, "test_util", "wpt"),
+ cwd: join(ROOT_PATH, "tests", "wpt", "suite"),
stderr: "inherit",
}).output();
const revision = (new TextDecoder().decode(proc.stdout)).trim();
const proc2 = await new Deno.Command(denoBinary(), {
args: ["eval", "console.log(JSON.stringify(Deno.version))"],
- cwd: join(ROOT_PATH, "test_util", "wpt"),
+ cwd: join(ROOT_PATH, "tests", "wpt", "suite"),
}).output();
const version = JSON.parse(new TextDecoder().decode(proc2.stdout));
const runInfo = {