Guard good arc direct-file staging
This commit is contained in:
@@ -7177,10 +7177,9 @@
|
||||
if (goodArcFixtures.length !== 6 || new Set(goodArcFixtures.map((fixture) => fixture.file)).size !== goodArcFixtures.length) {
|
||||
throw new Error("browser_interp_good_fixture_coverage: list drift");
|
||||
}
|
||||
const goodArcStagedNgcFiles = [];
|
||||
for (const goodArcFixture of goodArcFixtures) {
|
||||
const goodArcPath = await writeInterpRegressionFile(interp, "good", goodArcFixture.file);
|
||||
goodArcStagedNgcFiles.push(goodArcPath);
|
||||
assertInterpRegressionFileStaging("good", goodArcFixture.file, goodArcPath);
|
||||
verifyExpectedOutput(
|
||||
`browser_interp_good_arc_${goodArcFixture.name}`,
|
||||
interp.runFile(goodArcPath),
|
||||
@@ -7196,10 +7195,6 @@
|
||||
].join("\n"),
|
||||
);
|
||||
}
|
||||
const goodArcStagedRelativeNgcFiles = goodArcStagedNgcFiles.map((path) => path.replace("/work/browser-interp/good/", ""));
|
||||
if (goodArcStagedRelativeNgcFiles.join(",") !== goodArcFixtures.map((fixture) => fixture.file).join(",")) {
|
||||
throw new Error("browser_interp_good_staging_manifest: list drift");
|
||||
}
|
||||
|
||||
const g6164Path = await writeInterpRegressionFile(interp, "g6164", "test.ngc");
|
||||
const g6164NgcFiles = [
|
||||
|
||||
Reference in New Issue
Block a user