继续推进浏览器 direct fixture 路径 guard

This commit is contained in:
2026-06-14 08:41:30 +08:00
parent 68afff0806
commit 62620ffc76
2 changed files with 61 additions and 3 deletions

View File

@@ -9302,11 +9302,13 @@
].join("\n"),
);
const browserDirectParameterWasmPath = "/work/browser-direct.var";
const browserDirectParameterInputText = browserDirectParameterSeedLines(true).join("\n");
const browserParameterFilePath = writeGeneratedParameterFixture(
interp,
"/work/browser-direct.var",
browserDirectParameterWasmPath,
browserDirectParameterInputText,
"/work/browser-direct.var",
);
const browserDirectInitialParameterValues = opfsParameterValueSet("10.5", "20.25", "2.25", "44");
verifyExpectedOutput(
@@ -9352,10 +9354,12 @@
"T5 P9 X1 Y2 Z3 ;browser direct rough tool",
"",
];
const browserDirectToolTableWasmPath = "/work/browser-direct-tool.tbl";
const browserToolTablePath = writeGeneratedToolTableFixture(
interp,
"/work/browser-direct-tool.tbl",
browserDirectToolTableWasmPath,
browserDirectToolTableInputLines.join("\n"),
"/work/browser-direct-tool.tbl",
);
const browserDirectFinishTool = {
toolNo: "2",
@@ -9417,10 +9421,12 @@
"T5 P9 X1 Y2 Z3 ;browser direct random rough tool",
"",
];
const browserDirectRandomToolTableWasmPath = "/work/browser-direct-random-tool.tbl";
const browserRandomToolTablePath = writeGeneratedToolTableFixture(
interp,
"/work/browser-direct-random-tool.tbl",
browserDirectRandomToolTableWasmPath,
browserDirectRandomToolTableInputLines.join("\n"),
"/work/browser-direct-random-tool.tbl",
);
const browserDirectRandomFinishTool = {
toolNo: "2",