Guard final INI context staging paths
This commit is contained in:
@@ -7603,14 +7603,11 @@
|
||||
if (owordUnwindNgcFiles.length !== 2 || new Set(owordUnwindNgcFiles).size !== owordUnwindNgcFiles.length) {
|
||||
throw new Error("browser_interp_oword_unwind_fixture_coverage: list drift");
|
||||
}
|
||||
const owordUnwindStagedNgcFiles = owordUnwindPlan.files
|
||||
.map((file) => file.sourceRel)
|
||||
.filter((sourceRel) => sourceRel.endsWith(".ngc"))
|
||||
.map((sourceRel) => sourceRel.replace("tests/interp/oword-unwind/", ""))
|
||||
.sort();
|
||||
if (owordUnwindStagedNgcFiles.join(",") !== owordUnwindNgcFiles.join(",")) {
|
||||
throw new Error("browser_interp_oword_unwind_staging_manifest: list drift");
|
||||
}
|
||||
assertInterpIniContextNgcStaging(
|
||||
"oword-unwind",
|
||||
owordUnwindNgcFiles,
|
||||
owordUnwindPlan,
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_oword_unwind",
|
||||
interp.runFileWithIniContinueOnError(
|
||||
@@ -7637,14 +7634,11 @@
|
||||
if (abortHotCommentNgcFiles.length !== 1 || new Set(abortHotCommentNgcFiles).size !== abortHotCommentNgcFiles.length) {
|
||||
throw new Error("browser_interp_abort_hot_comment_fixture_coverage: list drift");
|
||||
}
|
||||
const abortHotCommentStagedNgcFiles = abortHotCommentPlan.files
|
||||
.map((file) => file.sourceRel)
|
||||
.filter((sourceRel) => sourceRel.endsWith(".ngc"))
|
||||
.map((sourceRel) => sourceRel.replace("tests/interp/abort-hot-comment/", ""))
|
||||
.sort();
|
||||
if (abortHotCommentStagedNgcFiles.join(",") !== abortHotCommentNgcFiles.join(",")) {
|
||||
throw new Error("browser_interp_abort_hot_comment_staging_manifest: list drift");
|
||||
}
|
||||
assertInterpIniContextNgcStaging(
|
||||
"abort-hot-comment",
|
||||
abortHotCommentNgcFiles,
|
||||
abortHotCommentPlan,
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_abort_hot_comment",
|
||||
interp.runFileWithIniContinueOnError(
|
||||
@@ -7668,14 +7662,11 @@
|
||||
if (m19NgcFiles.length !== 1 || new Set(m19NgcFiles).size !== m19NgcFiles.length) {
|
||||
throw new Error("browser_interp_m19_fixture_coverage: list drift");
|
||||
}
|
||||
const m19StagedNgcFiles = m19Plan.files
|
||||
.map((file) => file.sourceRel)
|
||||
.filter((sourceRel) => sourceRel.endsWith(".ngc"))
|
||||
.map((sourceRel) => sourceRel.replace("tests/interp/m19/", ""))
|
||||
.sort();
|
||||
if (m19StagedNgcFiles.join(",") !== m19NgcFiles.join(",")) {
|
||||
throw new Error("browser_interp_m19_staging_manifest: list drift");
|
||||
}
|
||||
assertInterpIniContextNgcStaging(
|
||||
"m19",
|
||||
m19NgcFiles,
|
||||
m19Plan,
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_m19",
|
||||
interp.runFileWithIni(m19Plan.programPath, m19Plan.iniPath),
|
||||
|
||||
Reference in New Issue
Block a user