Guard g71 g72 direct-file staging

This commit is contained in:
2026-06-13 09:00:26 +08:00
parent 880810e5c0
commit 21c70382b2
3 changed files with 52 additions and 18 deletions

View File

@@ -7251,10 +7251,7 @@
}
for (const g72Fixture of g72Fixtures) {
const g72Path = await writeInterpRegressionFile(interp, g72Fixture.dir, g72Fixture.file);
const g72StagedRelativeNgcFile = g72Path.replace("/work/browser-interp/", "");
if (g72StagedRelativeNgcFile !== `${g72Fixture.dir}/${g72Fixture.file}`) {
throw new Error(`browser_interp_g72_${g72Fixture.name}_staging_manifest: list drift`);
}
assertInterpRegressionFileStaging(g72Fixture.dir, g72Fixture.file, g72Path);
verifyExpectedOutput(
`browser_interp_g72_${g72Fixture.name}`,
interp.runFile(g72Path),
@@ -7331,10 +7328,7 @@
}
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`);
}
assertInterpRegressionFileStaging(g71Fixture.dir, g71Fixture.file, g71Path);
verifyExpectedOutput(
`browser_interp_g71_${g71Fixture.name}`,
interp.runFile(g71Path),