继续按 align-linuxcnc 约束:补参数读取错误源码覆盖
结论:新增参数索引、命名参数终止和实数读取错误 fixture,全部绑定 LinuxCNC interp_read.cc 的 source-link 断言;未扩展 smoke。
This commit is contained in:
1
tests/gcode/linuxcnc_bad_number_format_error.ngc
Normal file
1
tests/gcode/linuxcnc_bad_number_format_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
G1 X+
|
||||
@@ -0,0 +1 @@
|
||||
G1 X#<unterminated F100
|
||||
1
tests/gcode/linuxcnc_no_real_value_error.ngc
Normal file
1
tests/gcode/linuxcnc_no_real_value_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
G1 X
|
||||
@@ -0,0 +1 @@
|
||||
#[1.5] = 2
|
||||
@@ -0,0 +1 @@
|
||||
#0 = 1
|
||||
@@ -0,0 +1 @@
|
||||
G1 X#0 F100
|
||||
Reference in New Issue
Block a user