Guard remap-io staging paths
This commit is contained in:
@@ -6261,7 +6261,7 @@
|
||||
].join("\n"),
|
||||
);
|
||||
|
||||
const remapIoDir = await writeRemapRegressionFiles(interp, "remap-io", [
|
||||
const remapIoFiles = [
|
||||
"test-ngc.ini",
|
||||
"io_input_m66.ngc",
|
||||
"io_output_m62.ngc",
|
||||
@@ -6270,8 +6270,14 @@
|
||||
"io_output_m65.ngc",
|
||||
"io_output_m67.ngc",
|
||||
"io_output_m68.ngc",
|
||||
]);
|
||||
interp.writeTextFile(`${remapIoDir}/simpockets.tbl`, "T2 P2 Z0 ;remap-io tool\n");
|
||||
];
|
||||
const remapIoDir = await writeRemapRegressionFiles(interp, "remap-io", remapIoFiles);
|
||||
assertRemapRegressionStaging("remap-io", remapIoFiles, remapIoDir);
|
||||
const remapIoGeneratedToolTablePath = `${remapIoDir}/simpockets.tbl`;
|
||||
if (remapIoGeneratedToolTablePath !== "/work/browser-remap/remap-io/simpockets.tbl") {
|
||||
throw new Error("browser_remap_remap_io_generated_tool_table_staging: path drift");
|
||||
}
|
||||
interp.writeTextFile(remapIoGeneratedToolTablePath, "T2 P2 Z0 ;remap-io tool\n");
|
||||
verifyExpectedOutput(
|
||||
"browser_remap_io_ngc_mdi",
|
||||
interp.runRemapIoMdiSequence(`${remapIoDir}/test-ngc.ini`),
|
||||
|
||||
Reference in New Issue
Block a user