Guard g71 staging paths
This commit is contained in:
@@ -7185,7 +7185,7 @@
|
||||
);
|
||||
}
|
||||
|
||||
for (const g71Fixture of [
|
||||
const g71Fixtures = [
|
||||
{
|
||||
name: "endless_loop",
|
||||
dir: "g71-endless-loop",
|
||||
@@ -7237,8 +7237,16 @@
|
||||
"canon_event=STRAIGHT_FEED line=-1 x=15 y=0 z=-38.1",
|
||||
],
|
||||
},
|
||||
]) {
|
||||
];
|
||||
if (g71Fixtures.length !== 4 || new Set(g71Fixtures.map((fixture) => `${fixture.dir}/${fixture.file}`)).size !== g71Fixtures.length) {
|
||||
throw new Error("browser_interp_g71_fixture_coverage: list drift");
|
||||
}
|
||||
for (const g71Fixture of g71Fixtures) {
|
||||
const g71Path = await writeInterpRegressionFile(interp, g71Fixture.dir, g71Fixture.file);
|
||||
const g71StagedRelativeNgcFile = g71Path.replace("/work/browser-interp/", "");
|
||||
if (g71StagedRelativeNgcFile !== `${g71Fixture.dir}/${g71Fixture.file}`) {
|
||||
throw new Error(`browser_interp_g71_${g71Fixture.name}_staging_manifest: list drift`);
|
||||
}
|
||||
verifyExpectedOutput(
|
||||
`browser_interp_g71_${g71Fixture.name}`,
|
||||
interp.runFile(g71Path),
|
||||
|
||||
Reference in New Issue
Block a user