Guard final m98m99 staging paths

This commit is contained in:
2026-06-13 06:46:00 +08:00
parent 1e72dc150e
commit 25d90efda6
3 changed files with 107 additions and 0 deletions

View File

@@ -8126,6 +8126,14 @@
"m98m99/14-o-expression-call",
"test.ngc",
);
const m98m99FinalStagedNgcFiles = [
m98m99NamedProgramNamedPath,
m98m99NamedProgramNumberedPath,
m98m99OExpressionCallPath,
].map((path) => path.replace("/work/browser-interp/m98m99/", ""));
if (m98m99FinalStagedNgcFiles.join(",") !== m98m99RegressionFiles.slice(21, 24).join(",")) {
throw new Error("browser_interp_m98m99_final_staging_manifest: list drift");
}
const m98m99OExpressionCallRun = runWithCapturedPrints(() =>
interp.runFile(m98m99OExpressionCallPath),
);