Guard g33 and g6164 staging paths

This commit is contained in:
2026-06-13 07:34:29 +08:00
parent 5f3e9757fe
commit f27793abe7
3 changed files with 97 additions and 0 deletions

View File

@@ -7012,6 +7012,18 @@
}
const g33_1Path = await writeInterpRegressionFile(interp, "g33.1", "g33.1.ngc");
const g33_1NgcFiles = [
"g33.1.ngc",
];
if (g33_1NgcFiles.length !== 1 || new Set(g33_1NgcFiles).size !== g33_1NgcFiles.length) {
throw new Error("browser_interp_g33_1_fixture_coverage: list drift");
}
const g33_1StagedNgcFiles = [
g33_1Path,
].map((path) => path.replace("/work/browser-interp/g33.1/", ""));
if (g33_1StagedNgcFiles.join(",") !== g33_1NgcFiles.join(",")) {
throw new Error("browser_interp_g33_1_staging_manifest: list drift");
}
verifyExpectedOutput(
"browser_interp_g33_1",
interp.runFile(g33_1Path),
@@ -7096,6 +7108,18 @@
}
const g6164Path = await writeInterpRegressionFile(interp, "g6164", "test.ngc");
const g6164NgcFiles = [
"test.ngc",
];
if (g6164NgcFiles.length !== 1 || new Set(g6164NgcFiles).size !== g6164NgcFiles.length) {
throw new Error("browser_interp_g6164_fixture_coverage: list drift");
}
const g6164StagedNgcFiles = [
g6164Path,
].map((path) => path.replace("/work/browser-interp/g6164/", ""));
if (g6164StagedNgcFiles.join(",") !== g6164NgcFiles.join(",")) {
throw new Error("browser_interp_g6164_staging_manifest: list drift");
}
verifyExpectedOutput(
"browser_interp_g6164",
interp.runFile(g6164Path),