继续按 align-linuxcnc 约束:补 G/M reader 源码错误覆盖
结论:覆盖 LinuxCNC interp_read.cc/read_g()/read_m() 的范围、未知代码和同 modal group 冲突错误,代码表依据 interp_array.cc;未扩展 smoke。 验证:./test-linuxcnc-source-link.sh;./test-native.sh。
This commit is contained in:
1
tests/gcode/linuxcnc_g_code_out_of_range_error.ngc
Normal file
1
tests/gcode/linuxcnc_g_code_out_of_range_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
G999.2
|
||||
1
tests/gcode/linuxcnc_m_code_greater_199_error.ngc
Normal file
1
tests/gcode/linuxcnc_m_code_greater_199_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
M200
|
||||
@@ -0,0 +1 @@
|
||||
G0 G1 X1 F100
|
||||
@@ -0,0 +1 @@
|
||||
M3 M4 S100
|
||||
1
tests/gcode/linuxcnc_unknown_g_code_error.ngc
Normal file
1
tests/gcode/linuxcnc_unknown_g_code_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
G13
|
||||
1
tests/gcode/linuxcnc_unknown_m_code_error.ngc
Normal file
1
tests/gcode/linuxcnc_unknown_m_code_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
M13
|
||||
Reference in New Issue
Block a user