Guard rotation staging paths
This commit is contained in:
@@ -7386,6 +7386,14 @@
|
||||
}
|
||||
|
||||
const rotationG53Path = await writeInterpRegressionFile(interp, "rotation/g53", "g53.ngc");
|
||||
const rotationStagedNgcFiles = [
|
||||
rotationAbsPtsPath,
|
||||
rotationG28Path,
|
||||
rotationG53Path,
|
||||
].map((path) => path.replace("/work/browser-interp/rotation/", ""));
|
||||
if (rotationStagedNgcFiles.join(",") !== rotationRegressionFiles.join(",")) {
|
||||
throw new Error("browser_interp_rotation_staging_manifest: list drift");
|
||||
}
|
||||
const rotationG53Output = interp.runFile(rotationG53Path);
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_rotation_g53",
|
||||
|
||||
@@ -2344,6 +2344,15 @@ assert.match(
|
||||
);
|
||||
|
||||
const rotationG53Path = writeInterpRegressionFile("rotation/g53", "g53.ngc");
|
||||
assert.deepEqual(
|
||||
[
|
||||
rotationAbsPtsPath,
|
||||
rotationG28Path,
|
||||
rotationG53Path,
|
||||
],
|
||||
rotationRegressionFiles.map((file) => `/work/interp/rotation/${file}`),
|
||||
"interp rotation staging manifest drift",
|
||||
);
|
||||
const rotationG53Output = interp.runFile(rotationG53Path);
|
||||
verifyExpectedOutput(
|
||||
"interp_rotation_g53_wasm",
|
||||
|
||||
Reference in New Issue
Block a user