Guard bad fixture staging paths
This commit is contained in:
@@ -1930,8 +1930,10 @@ assert.deepEqual(
|
||||
interpRegressionNgcFiles("bad"),
|
||||
"interp bad fixture coverage drift",
|
||||
);
|
||||
const badStagedNgcFiles = [];
|
||||
for (const badFixture of badInterpFixtures) {
|
||||
const badPath = writeInterpRegressionFile("bad", badFixture.file);
|
||||
badStagedNgcFiles.push(badPath);
|
||||
verifyExpectedOutput(
|
||||
`interp_bad_${badFixture.name}_wasm`,
|
||||
interp.runFile(badPath),
|
||||
@@ -1945,6 +1947,11 @@ for (const badFixture of badInterpFixtures) {
|
||||
].join("\n"),
|
||||
);
|
||||
}
|
||||
assert.deepEqual(
|
||||
badStagedNgcFiles,
|
||||
badInterpFixtures.map((fixture) => `/work/interp/bad/${fixture.file}`),
|
||||
"interp bad staging manifest drift",
|
||||
);
|
||||
|
||||
const g33_1Path = writeInterpRegressionFile("g33.1", "g33.1.ngc");
|
||||
const g33_1NgcFiles = [
|
||||
|
||||
Reference in New Issue
Block a user