Guard remap-io staging paths
This commit is contained in:
@@ -1233,7 +1233,7 @@ verifyExpectedOutput(
|
||||
].join("\n"),
|
||||
);
|
||||
|
||||
const remapIoDir = writeRemapRegressionFiles("remap-io", [
|
||||
const remapIoFiles = [
|
||||
"test-ngc.ini",
|
||||
"io_input_m66.ngc",
|
||||
"io_output_m62.ngc",
|
||||
@@ -1242,8 +1242,16 @@ const remapIoDir = writeRemapRegressionFiles("remap-io", [
|
||||
"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 = writeRemapRegressionFiles("remap-io", remapIoFiles);
|
||||
assertRemapRegressionStaging("remap-io", remapIoFiles, remapIoDir);
|
||||
const remapIoGeneratedToolTablePath = `${remapIoDir}/simpockets.tbl`;
|
||||
assert.equal(
|
||||
remapIoGeneratedToolTablePath,
|
||||
"/work/remap/remap-io/simpockets.tbl",
|
||||
"remap remap-io generated tool table staging path drift",
|
||||
);
|
||||
interp.writeTextFile(remapIoGeneratedToolTablePath, "T2 P2 Z0 ;remap-io tool\n");
|
||||
verifyExpectedOutput(
|
||||
"remap_io_ngc_mdi_wasm",
|
||||
interp.runRemapIoMdiSequence(`${remapIoDir}/test-ngc.ini`),
|
||||
|
||||
Reference in New Issue
Block a user