Guard abort and m19 staging manifests

This commit is contained in:
2026-06-13 06:17:16 +08:00
parent 091c4a3a66
commit 4680639f02
3 changed files with 153 additions and 0 deletions

View File

@@ -2316,6 +2316,23 @@ verifyExpectedOutput(
);
const abortHotCommentPlan = stageInterpIniContext("abort-hot-comment");
const abortHotCommentNgcFiles = [
"test.ngc",
];
assert.deepEqual(
abortHotCommentNgcFiles,
interpRegressionNgcFilesRecursive("abort-hot-comment"),
"interp abort-hot-comment fixture coverage drift",
);
assert.deepEqual(
abortHotCommentPlan.files
.map((file) => file.sourceRel)
.filter((sourceRel) => sourceRel.endsWith(".ngc"))
.map((sourceRel) => sourceRel.replace("tests/interp/abort-hot-comment/", ""))
.sort(),
abortHotCommentNgcFiles,
"interp abort-hot-comment staging manifest drift",
);
verifyExpectedOutput(
"interp_abort_hot_comment_wasm",
interp.runFileWithIniContinueOnError(
@@ -2333,6 +2350,23 @@ verifyExpectedOutput(
);
const m19Plan = stageInterpIniContext("m19");
const m19NgcFiles = [
"test.ngc",
];
assert.deepEqual(
m19NgcFiles,
interpRegressionNgcFilesRecursive("m19"),
"interp m19 fixture coverage drift",
);
assert.deepEqual(
m19Plan.files
.map((file) => file.sourceRel)
.filter((sourceRel) => sourceRel.endsWith(".ngc"))
.map((sourceRel) => sourceRel.replace("tests/interp/m19/", ""))
.sort(),
m19NgcFiles,
"interp m19 staging manifest drift",
);
verifyExpectedOutput(
"interp_m19_wasm",
interp.runFileWithIni(m19Plan.programPath, m19Plan.iniPath),