Guard remaining m98m99 direct-file staging
This commit is contained in:
@@ -7939,6 +7939,11 @@
|
||||
"m98m99/04-M98-but-no-sub",
|
||||
"test.ngc",
|
||||
);
|
||||
assertInterpRegressionFileStaging(
|
||||
"m98m99/04-M98-but-no-sub",
|
||||
"test.ngc",
|
||||
m98m99M98ButNoSubPath,
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_m98m99_04_m98_but_no_sub",
|
||||
interp.runFile(m98m99M98ButNoSubPath),
|
||||
@@ -7960,6 +7965,7 @@
|
||||
"m98m99/05-M98-loops",
|
||||
"test.ngc",
|
||||
);
|
||||
assertInterpRegressionFileStaging("m98m99/05-M98-loops", "test.ngc", m98m99M98LoopsPath);
|
||||
const m98m99M98LoopsRun = runWithCapturedPrints(() =>
|
||||
interp.runFile(m98m99M98LoopsPath),
|
||||
);
|
||||
@@ -8064,11 +8070,9 @@
|
||||
}
|
||||
}
|
||||
const m98m99MixedStagedNgcFiles = [
|
||||
m98m99M98ButNoSubPath,
|
||||
m98m99M98LoopsPath,
|
||||
...m98m99MixedSubStylePaths,
|
||||
].map((path) => path.replace("/work/browser-interp/m98m99/", ""));
|
||||
if (m98m99MixedStagedNgcFiles.join(",") !== m98m99RegressionFiles.slice(3, 9).join(",")) {
|
||||
if (m98m99MixedStagedNgcFiles.join(",") !== m98m99RegressionFiles.slice(5, 9).join(",")) {
|
||||
throw new Error("browser_interp_m98m99_mixed_staging_manifest: list drift");
|
||||
}
|
||||
|
||||
@@ -8077,6 +8081,7 @@
|
||||
"m98m99/07-nested-subs",
|
||||
"test.ngc",
|
||||
);
|
||||
assertInterpRegressionFileStaging("m98m99/07-nested-subs", "test.ngc", m98m99NestedSubsPath);
|
||||
const m98m99NestedSubsRun = runWithCapturedPrints(() =>
|
||||
interp.runFile(m98m99NestedSubsPath),
|
||||
);
|
||||
@@ -8106,6 +8111,11 @@
|
||||
"m98m99/08-sub-follows-main",
|
||||
"test.ngc",
|
||||
);
|
||||
assertInterpRegressionFileStaging(
|
||||
"m98m99/08-sub-follows-main",
|
||||
"test.ngc",
|
||||
m98m99SubFollowsMainPath,
|
||||
);
|
||||
const m98m99SubFollowsMainRun = runWithCapturedPrints(() =>
|
||||
interp.runFile(m98m99SubFollowsMainPath),
|
||||
);
|
||||
@@ -8143,13 +8153,6 @@
|
||||
m98m99DisableFanucSubsFiles,
|
||||
m98m99DisableFanucSubsDir,
|
||||
);
|
||||
const m98m99NestedStagedNgcFiles = [
|
||||
m98m99NestedSubsPath,
|
||||
m98m99SubFollowsMainPath,
|
||||
].map((path) => path.replace("/work/browser-interp/m98m99/", ""));
|
||||
if (m98m99NestedStagedNgcFiles.join(",") !== m98m99RegressionFiles.slice(9, 11).join(",")) {
|
||||
throw new Error("browser_interp_m98m99_nested_staging_manifest: list drift");
|
||||
}
|
||||
for (const disableFanucCase of [
|
||||
{
|
||||
name: "fanuc_ini",
|
||||
@@ -8236,6 +8239,7 @@
|
||||
"m98m99/10-M98-P001",
|
||||
"test.ngc",
|
||||
);
|
||||
assertInterpRegressionFileStaging("m98m99/10-M98-P001", "test.ngc", m98m99M98P001Path);
|
||||
const m98m99M98P001Run = runWithCapturedPrints(() =>
|
||||
interp.runFile(m98m99M98P001Path),
|
||||
);
|
||||
@@ -8279,12 +8283,6 @@
|
||||
m98m99MainProgramOwordFiles,
|
||||
m98m99MainProgramOwordDir,
|
||||
);
|
||||
const m98m99M98P001StagedNgcFiles = [m98m99M98P001Path].map((path) =>
|
||||
path.replace("/work/browser-interp/m98m99/", ""),
|
||||
);
|
||||
if (m98m99M98P001StagedNgcFiles.join(",") !== m98m99RegressionFiles.slice(13, 14).join(",")) {
|
||||
throw new Error("browser_interp_m98m99_main_program_staging_manifest: list drift");
|
||||
}
|
||||
for (const mainProgramFixture of [
|
||||
{
|
||||
name: "legal_m2",
|
||||
|
||||
Reference in New Issue
Block a user