参考所有分组:补 modal group source 覆盖,测试通过

This commit is contained in:
cnc
2026-06-03 09:41:26 +08:00
parent d1e0152eb8
commit c932e10801
11 changed files with 39 additions and 0 deletions

View File

@@ -657,6 +657,7 @@ done
# before convert_g() executes motion or coordinate updates.
check_g_code_error_cases=(
"linuxcnc_g4_missing_p_error|Dwell time missing with g4"
"linuxcnc_g4_negative_p_error|Dwell time missing with g4"
"linuxcnc_g4_arc_p_conflict_error|G4 not allowed with G2 or G3 because they both use P"
"linuxcnc_g10_invalid_l_error|Line with G10 does not have L0, L1, L10, L11, L2, or L20"
"linuxcnc_g10_p_non_integer_error|P value not an integer with G10"
@@ -944,6 +945,14 @@ gm_reader_error_cases=(
"linuxcnc_g_code_out_of_range_error|G-code out of range"
"linuxcnc_unknown_g_code_error|Unknown g code used"
"linuxcnc_two_g_codes_same_modal_group_error|Two g codes used from same modal group"
"linuxcnc_same_modal_predefined_position_error|Two g codes used from same modal group"
"linuxcnc_same_modal_g52_g92_error|Two g codes used from same modal group"
"linuxcnc_same_modal_g10_g92_error|Two g codes used from same modal group"
"linuxcnc_same_modal_control_mode_error|Two g codes used from same modal group"
"linuxcnc_same_modal_g4_g53_error|Two g codes used from same modal group"
"linuxcnc_same_modal_g921_g922_error|Two g codes used from same modal group"
"linuxcnc_same_modal_threading_motion_error|Two g codes used from same modal group"
"linuxcnc_same_modal_probe_motion_error|Two g codes used from same modal group"
"linuxcnc_m_code_greater_199_error|M-code greater than 199: M200"
"linuxcnc_unknown_m_code_error|Unknown m code used: M13"
"linuxcnc_two_m_codes_same_modal_group_error|Two m codes used from same modal group"