扩展解释器WASM刀具夹具

结论:解释器核心WASM验证新增刀具选择、刀表设置、刀具重载以及缺刀错误夹具,继续复用LinuxCNC解释器和tool adapter边界。
This commit is contained in:
2026-06-08 05:28:38 +08:00
parent 9c611b8a01
commit 2f8be55fa6
2 changed files with 12 additions and 7 deletions

View File

@@ -198,14 +198,14 @@ INI parser smoke harness and an initial interpreter-core canonical event smoke
for `minimal_linear`, `arc_semantics`, `length_units`, `modal_incremental`,
`plane_selection`, `coordinate_offsets`, `g53_machine_coordinates`,
`feed_control_modes`, `position_params`, `probe_semantics`, `spindle_orient`,
`comment_logging`, `numbered_params`, and `namedparam_semantics`, plus the
`g1_zero_feed`, `arc_radius_mismatch`, `arc_zero_radius`, and
`g53_incremental` negative fixtures. The WASM interpreter file path
additionally covers `file_open_reset`, `percent_file_finish`, and
`comment_logging`, `numbered_params`, `tool_semantics`, `tool_table_setup`,
`tool_reload`, and `namedparam_semantics`, plus the `g1_zero_feed`,
`arc_radius_mismatch`, `arc_zero_radius`, `g53_incremental`, `tool_not_found`,
and `tool_length_offset_not_found` negative fixtures. The WASM interpreter
file path additionally covers `file_open_reset`, `percent_file_finish`, and
`oword_subroutine`. OPFS validation is limited to the JavaScript host-boundary
adapter plus the INI
browser smoke harness. Full browser coverage, full SDK coverage, and full
machine-session validation remain future work.
adapter plus the INI browser smoke harness. Full browser coverage, full SDK
coverage, and full machine-session validation remain future work.
The current fixture expectations validate standalone behavior against both the
vendored LinuxCNC source path and an upstream `rs274` side-by-side baseline for

View File

@@ -116,6 +116,9 @@ const fixtureNames = [
"spindle_orient",
"comment_logging",
"numbered_params",
"tool_semantics",
"tool_table_setup",
"tool_reload",
];
for (const fixtureName of fixtureNames) {
@@ -157,6 +160,8 @@ const errorFixtureNames = [
"arc_radius_mismatch",
"arc_zero_radius",
"g53_incremental",
"tool_not_found",
"tool_length_offset_not_found",
];
for (const fixtureName of errorFixtureNames) {