Guard more interp staging paths
This commit is contained in:
@@ -6638,6 +6638,18 @@
|
||||
"flowsnake",
|
||||
"flowsnake.ngc",
|
||||
);
|
||||
const flowsnakeNgcFiles = [
|
||||
"flowsnake.ngc",
|
||||
];
|
||||
if (flowsnakeNgcFiles.length !== 1 || new Set(flowsnakeNgcFiles).size !== flowsnakeNgcFiles.length) {
|
||||
throw new Error("browser_interp_flowsnake_fixture_coverage: list drift");
|
||||
}
|
||||
const flowsnakeStagedNgcFiles = [
|
||||
flowsnakePath,
|
||||
].map((path) => path.replace("/work/browser-interp/flowsnake/", ""));
|
||||
if (flowsnakeStagedNgcFiles.join(",") !== flowsnakeNgcFiles.join(",")) {
|
||||
throw new Error("browser_interp_flowsnake_staging_manifest: list drift");
|
||||
}
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_flowsnake",
|
||||
interp.runFile(flowsnakePath),
|
||||
@@ -6664,6 +6676,18 @@
|
||||
"inside-corners",
|
||||
"test.ngc",
|
||||
);
|
||||
const insideCornersNgcFiles = [
|
||||
"test.ngc",
|
||||
];
|
||||
if (insideCornersNgcFiles.length !== 1 || new Set(insideCornersNgcFiles).size !== insideCornersNgcFiles.length) {
|
||||
throw new Error("browser_interp_inside_corners_fixture_coverage: list drift");
|
||||
}
|
||||
const insideCornersStagedNgcFiles = [
|
||||
insideCornersPath,
|
||||
].map((path) => path.replace("/work/browser-interp/inside-corners/", ""));
|
||||
if (insideCornersStagedNgcFiles.join(",") !== insideCornersNgcFiles.join(",")) {
|
||||
throw new Error("browser_interp_inside_corners_staging_manifest: list drift");
|
||||
}
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_inside_corners",
|
||||
interp.runFile(insideCornersPath),
|
||||
@@ -6691,6 +6715,18 @@
|
||||
"inverse-time-with-comp",
|
||||
"inverse.ngc",
|
||||
);
|
||||
const inverseTimeWithCompNgcFiles = [
|
||||
"inverse.ngc",
|
||||
];
|
||||
if (inverseTimeWithCompNgcFiles.length !== 1 || new Set(inverseTimeWithCompNgcFiles).size !== inverseTimeWithCompNgcFiles.length) {
|
||||
throw new Error("browser_interp_inverse_time_with_comp_fixture_coverage: list drift");
|
||||
}
|
||||
const inverseTimeWithCompStagedNgcFiles = [
|
||||
inverseTimeWithCompPath,
|
||||
].map((path) => path.replace("/work/browser-interp/inverse-time-with-comp/", ""));
|
||||
if (inverseTimeWithCompStagedNgcFiles.join(",") !== inverseTimeWithCompNgcFiles.join(",")) {
|
||||
throw new Error("browser_interp_inverse_time_with_comp_staging_manifest: list drift");
|
||||
}
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_inverse_time_with_comp",
|
||||
interp.runFile(inverseTimeWithCompPath),
|
||||
|
||||
Reference in New Issue
Block a user