Guard g52 staging path

This commit is contained in:
2026-06-13 07:02:00 +08:00
parent bf17469f6f
commit 17df47d68d
3 changed files with 111 additions and 0 deletions

View File

@@ -8295,6 +8295,18 @@
"g52/g52-g92-interaction",
"g52-g92-interaction.ngc",
);
const g52RegressionFiles = [
"g52-g92-interaction/g52-g92-interaction.ngc",
];
if (g52RegressionFiles.length !== 1 || new Set(g52RegressionFiles).size !== g52RegressionFiles.length) {
throw new Error("browser_interp_g52_fixture_coverage: list drift");
}
const g52StagedNgcFiles = [
g52G92InteractionPath,
].map((path) => path.replace("/work/browser-interp/g52/", ""));
if (g52StagedNgcFiles.join(",") !== g52RegressionFiles.join(",")) {
throw new Error("browser_interp_g52_staging_manifest: list drift");
}
verifyExpectedOutput(
"browser_interp_g52_g92_interaction",
interp.runFile(g52G92InteractionPath),