Guard final g10 staging paths
This commit is contained in:
@@ -8265,6 +8265,13 @@
|
||||
"test.ngc",
|
||||
"test.tbl",
|
||||
]);
|
||||
const g10FinalStagedNgcFiles = [
|
||||
`${g10L20WhileActiveDir}/test.ngc`,
|
||||
`${g10WithG92Dir}/test.ngc`,
|
||||
].map((path) => path.replace("/work/browser-interp/g10/", ""));
|
||||
if (g10FinalStagedNgcFiles.join(",") !== g10RegressionFiles.slice(3, 5).join(",")) {
|
||||
throw new Error("browser_interp_g10_final_staging_manifest: list drift");
|
||||
}
|
||||
verifyExpectedOutput(
|
||||
"browser_interp_g10_with_g92",
|
||||
interp.runFileWithIni(`${g10WithG92Dir}/test.ngc`, `${g10WithG92Dir}/test.ini`),
|
||||
|
||||
@@ -3152,6 +3152,16 @@ verifyExpectedOutput(
|
||||
);
|
||||
|
||||
const g10WithG92Dir = writeG10RegressionFiles("g10-with-g92", ["test.ngc", "test.tbl"]);
|
||||
assert.deepEqual(
|
||||
[
|
||||
`${g10L20WhileActiveDir}/test.ngc`,
|
||||
`${g10WithG92Dir}/test.ngc`,
|
||||
],
|
||||
g10RegressionFiles
|
||||
.slice(3, 5)
|
||||
.map((file) => `/work/interp/g10/${file}`),
|
||||
"interp g10 final staging manifest drift",
|
||||
);
|
||||
verifyExpectedOutput(
|
||||
"interp_g10_with_g92_wasm",
|
||||
interp.runFileWithIni(`${g10WithG92Dir}/test.ngc`, `${g10WithG92Dir}/test.ini`),
|
||||
|
||||
Reference in New Issue
Block a user