Guard more earlier direct-file staging

This commit is contained in:
2026-06-13 09:35:23 +08:00
parent 6a64219533
commit a773c2e633
3 changed files with 59 additions and 65 deletions

View File

@@ -1487,13 +1487,7 @@ assert.deepEqual(
interpRegressionNgcFilesRecursive("subs-follow-main"),
"interp subs-follow-main fixture coverage drift",
);
assert.deepEqual(
[
subsFollowMainPath,
],
subsFollowMainNgcFiles.map((file) => `/work/interp/subs-follow-main/${file}`),
"interp subs-follow-main staging manifest drift",
);
assertInterpRegressionFileStaging("subs-follow-main", "test.ngc", subsFollowMainPath);
verifyExpectedOutput(
"interp_subs_follow_main_wasm",
interp.runFile(subsFollowMainPath),
@@ -1519,13 +1513,7 @@ assert.deepEqual(
interpRegressionNgcFilesRecursive("fractional-linenumbers"),
"interp fractional-linenumbers fixture coverage drift",
);
assert.deepEqual(
[
fractionalLinenumbersPath,
],
fractionalLinenumbersNgcFiles.map((file) => `/work/interp/fractional-linenumbers/${file}`),
"interp fractional-linenumbers staging manifest drift",
);
assertInterpRegressionFileStaging("fractional-linenumbers", "test.ngc", fractionalLinenumbersPath);
verifyExpectedOutput(
"interp_fractional_linenumbers_wasm",
interp.runFile(fractionalLinenumbersPath),
@@ -1549,13 +1537,7 @@ assert.deepEqual(
interpRegressionNgcFilesRecursive("crazy-paths"),
"interp crazy-paths fixture coverage drift",
);
assert.deepEqual(
[
crazyPathsPath,
],
crazyPathsNgcFiles.map((file) => `/work/interp/crazy-paths/${file}`),
"interp crazy-paths staging manifest drift",
);
assertInterpRegressionFileStaging("crazy-paths", "test.ngc", crazyPathsPath);
verifyExpectedOutput(
"interp_crazy_paths_wasm",
interp.runFile(crazyPathsPath),
@@ -1644,13 +1626,7 @@ assert.deepEqual(
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",
);
assertInterpRegressionFileStaging("namedparam-bug424", "test.ngc", namedparamBug424Path);
verifyExpectedOutput(
"interp_namedparam_bug424_wasm",
interp.runFile(namedparamBug424Path),
@@ -1676,13 +1652,7 @@ assert.deepEqual(
interpRegressionNgcFilesRecursive("flowsnake"),
"interp flowsnake fixture coverage drift",
);
assert.deepEqual(
[
flowsnakePath,
],
flowsnakeNgcFiles.map((file) => `/work/interp/flowsnake/${file}`),
"interp flowsnake staging manifest drift",
);
assertInterpRegressionFileStaging("flowsnake", "flowsnake.ngc", flowsnakePath);
verifyExpectedOutput(
"interp_flowsnake_wasm",
interp.runFile(flowsnakePath),