Guard final INI context staging paths

This commit is contained in:
2026-06-13 12:10:32 +08:00
parent d5ac4b68dd
commit 45ac3cb8b2
3 changed files with 66 additions and 45 deletions

View File

@@ -2579,14 +2579,10 @@ assert.deepEqual(
interpRegressionNgcFilesRecursive("oword-unwind"),
"interp oword-unwind fixture coverage drift",
);
assert.deepEqual(
owordUnwindPlan.files
.map((file) => file.sourceRel)
.filter((sourceRel) => sourceRel.endsWith(".ngc"))
.map((sourceRel) => sourceRel.replace("tests/interp/oword-unwind/", ""))
.sort(),
assertInterpIniContextNgcStaging(
"oword-unwind",
owordUnwindNgcFiles,
"interp oword-unwind staging manifest drift",
owordUnwindPlan,
);
verifyExpectedOutput(
"interp_oword_unwind_wasm",
@@ -2616,14 +2612,10 @@ assert.deepEqual(
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(),
assertInterpIniContextNgcStaging(
"abort-hot-comment",
abortHotCommentNgcFiles,
"interp abort-hot-comment staging manifest drift",
abortHotCommentPlan,
);
verifyExpectedOutput(
"interp_abort_hot_comment_wasm",
@@ -2650,14 +2642,10 @@ assert.deepEqual(
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(),
assertInterpIniContextNgcStaging(
"m19",
m19NgcFiles,
"interp m19 staging manifest drift",
m19Plan,
);
verifyExpectedOutput(
"interp_m19_wasm",