Guard final m98m99 staging paths
This commit is contained in:
@@ -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),
|
||||
);
|
||||
|
||||
@@ -3022,6 +3022,17 @@ const m98m99OExpressionCallPath = writeInterpRegressionFile(
|
||||
"m98m99/14-o-expression-call",
|
||||
"test.ngc",
|
||||
);
|
||||
assert.deepEqual(
|
||||
[
|
||||
m98m99NamedProgramNamedPath,
|
||||
m98m99NamedProgramNumberedPath,
|
||||
m98m99OExpressionCallPath,
|
||||
],
|
||||
m98m99RegressionFiles
|
||||
.slice(21, 24)
|
||||
.map((file) => `/work/interp/m98m99/${file}`),
|
||||
"interp m98m99 final direct-file staging manifest drift",
|
||||
);
|
||||
const m98m99OExpressionCallRun = runWithCapturedPrints(() =>
|
||||
interp.runFile(m98m99OExpressionCallPath),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user