Guard final g10 staging paths

This commit is contained in:
2026-06-13 06:57:47 +08:00
parent f8177efac5
commit bf17469f6f
3 changed files with 104 additions and 89 deletions

View File

@@ -8265,6 +8265,13 @@
"test.ngc",
"test.tbl",
]);
const g10FinalStagedNgcFiles = [
`${g10L20WhileActiveDir}/test.ngc`,
`${g10WithG92Dir}/test.ngc`,
].map((path) => path.replace("/work/browser-interp/g10/", ""));
if (g10FinalStagedNgcFiles.join(",") !== g10RegressionFiles.slice(3, 5).join(",")) {
throw new Error("browser_interp_g10_final_staging_manifest: list drift");
}
verifyExpectedOutput(
"browser_interp_g10_with_g92",
interp.runFileWithIni(`${g10WithG92Dir}/test.ngc`, `${g10WithG92Dir}/test.ini`),