按规划继续工作
结论:解释器 Node WASM 与浏览器 smoke 已统一使用共享 fixture 矩阵,聚合 host/WASM/browser 验证通过。
This commit is contained in:
80
wasm-port/tests/fixtures/interp-fixture-matrix.mjs
vendored
Normal file
80
wasm-port/tests/fixtures/interp-fixture-matrix.mjs
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
export const INTERP_MDI_FIXTURES = [
|
||||
"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",
|
||||
"tool_semantics",
|
||||
"tool_table_setup",
|
||||
"tool_reload",
|
||||
"canned_cycles",
|
||||
"cutter_comp_motion",
|
||||
"threading_sync",
|
||||
"nurbs_g5_semantics",
|
||||
"nurbs_g6_semantics",
|
||||
"state_tag_motion",
|
||||
"canon_runtime_edges",
|
||||
"program_end_modal_reset",
|
||||
];
|
||||
|
||||
export const INTERP_BROWSER_MDI_FIXTURES = INTERP_MDI_FIXTURES.filter(
|
||||
(fixtureName) => fixtureName !== "position_params",
|
||||
);
|
||||
|
||||
export const INTERP_ERROR_FIXTURES = [
|
||||
"g1_zero_feed",
|
||||
"arc_radius_mismatch",
|
||||
"arc_zero_radius",
|
||||
"cutter_comp_plane_change",
|
||||
"g53_incremental",
|
||||
"namedparam_readonly",
|
||||
"numbered_param_readonly",
|
||||
"tool_not_found",
|
||||
"tool_length_offset_not_found",
|
||||
];
|
||||
|
||||
export const INTERP_FILE_FIXTURES = [
|
||||
"minimal_linear",
|
||||
"arc_semantics",
|
||||
"length_units",
|
||||
"modal_incremental",
|
||||
"plane_selection",
|
||||
"coordinate_offsets",
|
||||
"g53_machine_coordinates",
|
||||
"feed_control_modes",
|
||||
"probe_semantics",
|
||||
"spindle_orient",
|
||||
"comment_logging",
|
||||
"numbered_params",
|
||||
"tool_semantics",
|
||||
"tool_table_setup",
|
||||
"tool_reload",
|
||||
"canned_cycles",
|
||||
"cutter_comp_motion",
|
||||
"threading_sync",
|
||||
"nurbs_g5_semantics",
|
||||
"nurbs_g6_semantics",
|
||||
"state_tag_motion",
|
||||
"canon_runtime_edges",
|
||||
"program_end_modal_reset",
|
||||
"file_open_reset",
|
||||
"percent_file_finish",
|
||||
"oword_subroutine",
|
||||
];
|
||||
|
||||
export const INTERP_BROWSER_FILE_FIXTURES = [
|
||||
"file_open_reset",
|
||||
"percent_file_finish",
|
||||
"oword_subroutine",
|
||||
];
|
||||
|
||||
export const INTERP_INI_FIXTURE = "namedparam_semantics";
|
||||
export const INTERP_POSITION_PARAMS_FILE_FIXTURE = "position_params";
|
||||
Reference in New Issue
Block a user