diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-02-16 14:32:28 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-16 03:32:28 +0000 |
commit | 5596de8081970a6fa811b95e60a27dca071a714e (patch) | |
tree | c4772533f3a7b2c9945cb8f0797e4ec38fc637a9 /tools/wpt/utils.ts | |
parent | 4f80d83774ce5402a2b10503529fe422c998b841 (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.ts | 6 |
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 = { |