1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 23:58:23 -05:00
denoland-deno/tests/specs/compile/determinism/__test__.jsonc
David Sherret 074444ab6c
fix(compile): be more deterministic when compiling the same code in different directories (#27395)
Additionaly, this no longer unnecessarily stores the source twice for
file specifiers and fixes some sourcemap issues.

Closes https://github.com/denoland/deno/issues/27284
2024-12-19 12:53:52 -05:00

31 lines
801 B
Text

{
"tempDir": true,
"steps": [{
"args": "run -A setup.ts",
"output": "[WILDCARD]"
}, {
"if": "unix",
"args": "compile --no-config --output a/main a/main.ts",
"output": "[WILDCARD]"
}, {
"if": "unix",
"args": "compile --no-config --output b/main b/main.ts",
"output": "[WILDCARD]"
}, {
"if": "unix",
"args": "run --allow-read=. assert_equal.ts a/main b/main",
"output": "Same\n"
}, {
"if": "windows",
"args": "compile --no-config --output a/main.exe a/main.ts",
"output": "[WILDCARD]"
}, {
"if": "windows",
"args": "compile --no-config --output b/main.exe b/main.ts",
"output": "[WILDCARD]"
}, {
"if": "windows",
"args": "run --allow-read=. assert_equal.ts a/main.exe b/main.exe",
"output": "Same\n"
}]
}