按规划继续工作

结论:补齐参数文件缺失 required 数值参数的 WASM 和浏览器验证,继续通过 vendored LinuxCNC restore_parameters 路径覆盖。
This commit is contained in:
2026-06-08 11:34:59 +08:00
parent b0250b66e6
commit 5a350337c4
5 changed files with 32 additions and 6 deletions

View File

@@ -104,7 +104,8 @@ Emscripten filesystem through the SDK and runs them through LinuxCNC
file execution path. The same Node smoke writes LinuxCNC-format parameter
files into the Emscripten filesystem and validates vendored
`Interp::restore_parameters()` and `Interp::save_parameters()`, including the
saved parameter values and `.bak` backup file boundary. It also writes the
saved parameter values, missing required numeric parameter defaulting, and the
`.bak` backup file boundary. It also writes the
negative G-code fixtures into the Emscripten filesystem and verifies their
LinuxCNC-produced error text through the `Interp::open()`/`read()`/`execute()`
file path.
@@ -291,9 +292,10 @@ group and check the LinuxCNC file-execution error text plus absent canonical
motion constraints where applicable.
The Node WASM and browser interpreter smokes also cover LinuxCNC parameter-file
restore/save behavior through the exported C ABI, including out-of-order file
rejection, missing-file success, required numeric parameter writeback, removal
of named-parameter-only lines from saved output, and the `.bak` backup produced
by vendored `save_parameters()`. It also covers LinuxCNC tool-table
rejection, missing-file success, missing required numeric parameter defaulting,
required numeric parameter writeback, removal of named-parameter-only lines
from saved output, and the `.bak` backup produced by vendored
`save_parameters()`. It also covers LinuxCNC tool-table
load/save behavior through vendored `tooldata_common.cc`, including the
non-random and random-toolchanger `tooldata_init()` branches, with the SDK
only copying text into the Emscripten filesystem and calling the exported C