Guard more direct-file staging paths
This commit is contained in:
@@ -1365,6 +1365,21 @@ verifyExpectedOutput(
|
||||
);
|
||||
|
||||
const subsFollowMainPath = writeInterpRegressionFile("subs-follow-main", "test.ngc");
|
||||
const subsFollowMainNgcFiles = [
|
||||
"test.ngc",
|
||||
];
|
||||
assert.deepEqual(
|
||||
subsFollowMainNgcFiles,
|
||||
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",
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"interp_subs_follow_main_wasm",
|
||||
interp.runFile(subsFollowMainPath),
|
||||
@@ -1382,6 +1397,21 @@ const fractionalLinenumbersPath = writeInterpRegressionFile(
|
||||
"fractional-linenumbers",
|
||||
"test.ngc",
|
||||
);
|
||||
const fractionalLinenumbersNgcFiles = [
|
||||
"test.ngc",
|
||||
];
|
||||
assert.deepEqual(
|
||||
fractionalLinenumbersNgcFiles,
|
||||
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",
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"interp_fractional_linenumbers_wasm",
|
||||
interp.runFile(fractionalLinenumbersPath),
|
||||
@@ -1397,6 +1427,21 @@ verifyExpectedOutput(
|
||||
);
|
||||
|
||||
const crazyPathsPath = writeInterpRegressionFile("crazy-paths", "test.ngc");
|
||||
const crazyPathsNgcFiles = [
|
||||
"test.ngc",
|
||||
];
|
||||
assert.deepEqual(
|
||||
crazyPathsNgcFiles,
|
||||
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",
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"interp_crazy_paths_wasm",
|
||||
interp.runFile(crazyPathsPath),
|
||||
|
||||
Reference in New Issue
Block a user