Guard initial m98m99 staging paths

This commit is contained in:
2026-06-13 06:26:27 +08:00
parent 986a3f4cc7
commit 7cc47f020d
3 changed files with 114 additions and 0 deletions

View File

@@ -7621,6 +7621,14 @@
"m98m99/03-error-M98-no-P-word",
"test.ngc",
);
const m98m99InitialStagedNgcFiles = [
m98m99BasicsPath,
m98m99VariablesPath,
m98m99M98NoPWordPath,
].map((path) => path.replace("/work/browser-interp/m98m99/", ""));
if (m98m99InitialStagedNgcFiles.join(",") !== m98m99RegressionFiles.slice(0, 3).join(",")) {
throw new Error("browser_interp_m98m99_initial_staging_manifest: list drift");
}
verifyExpectedOutput(
"browser_interp_m98m99_03_error_m98_no_p_word",
interp.runFile(m98m99M98NoPWordPath),