Guard initial g10 staging paths

This commit is contained in:
2026-06-13 06:51:33 +08:00
parent 25d90efda6
commit f8177efac5
3 changed files with 200 additions and 0 deletions

View File

@@ -8215,6 +8215,14 @@
"g10-l2-while-active",
["test.ngc"],
);
const g10InitialStagedNgcFiles = [
`${g10L1L10Dir}/test.ngc`,
`${g10L11Dir}/test.ngc`,
`${g10L2WhileActiveDir}/test.ngc`,
].map((path) => path.replace("/work/browser-interp/g10/", ""));
if (g10InitialStagedNgcFiles.join(",") !== g10RegressionFiles.slice(0, 3).join(",")) {
throw new Error("browser_interp_g10_initial_staging_manifest: list drift");
}
verifyExpectedOutput(
"browser_interp_g10_l2_while_active",
interp.runFile(`${g10L2WhileActiveDir}/test.ngc`),