Guard oword/namedparam staging paths

This commit is contained in:
2026-06-13 07:27:23 +08:00
parent c85dec42c4
commit c97f85237f
3 changed files with 121 additions and 0 deletions

View File

@@ -1272,6 +1272,21 @@ verifyExpectedOutput(
);
const owordBug315Path = writeInterpRegressionFile("oword-bug315", "test.ngc");
const owordBug315NgcFiles = [
"test.ngc",
];
assert.deepEqual(
owordBug315NgcFiles,
interpRegressionNgcFilesRecursive("oword-bug315"),
"interp oword-bug315 fixture coverage drift",
);
assert.deepEqual(
[
owordBug315Path,
],
owordBug315NgcFiles.map((file) => `/work/interp/oword-bug315/${file}`),
"interp oword-bug315 staging manifest drift",
);
verifyExpectedOutput(
"interp_oword_bug315_wasm",
interp.runFile(owordBug315Path),
@@ -1287,6 +1302,21 @@ verifyExpectedOutput(
);
const owordBug315P2Path = writeInterpRegressionFile("oword-bug315-p2", "test.ngc");
const owordBug315P2NgcFiles = [
"test.ngc",
];
assert.deepEqual(
owordBug315P2NgcFiles,
interpRegressionNgcFilesRecursive("oword-bug315-p2"),
"interp oword-bug315-p2 fixture coverage drift",
);
assert.deepEqual(
[
owordBug315P2Path,
],
owordBug315P2NgcFiles.map((file) => `/work/interp/oword-bug315-p2/${file}`),
"interp oword-bug315-p2 staging manifest drift",
);
verifyExpectedOutput(
"interp_oword_bug315_p2_wasm",
interp.runFile(owordBug315P2Path),
@@ -1517,6 +1547,21 @@ verifyExpectedOutput(
);
const namedparamBug424Path = writeInterpRegressionFile("namedparam-bug424", "test.ngc");
const namedparamBug424NgcFiles = [
"test.ngc",
];
assert.deepEqual(
namedparamBug424NgcFiles,
interpRegressionNgcFilesRecursive("namedparam-bug424"),
"interp namedparam-bug424 fixture coverage drift",
);
assert.deepEqual(
[
namedparamBug424Path,
],
namedparamBug424NgcFiles.map((file) => `/work/interp/namedparam-bug424/${file}`),
"interp namedparam-bug424 staging manifest drift",
);
verifyExpectedOutput(
"interp_namedparam_bug424_wasm",
interp.runFile(namedparamBug424Path),