继续按 align-linuxcnc 约束:补 unary 和参数读取源码错误覆盖
结论:覆盖 LinuxCNC interp_read.cc 中 read_operation_unary() 未知词分支、read_parameter_setting() 缺少等号和 read_real_value() 空值错误;未扩展 smoke。 验证:./test-linuxcnc-source-link.sh;./test-native.sh。
This commit is contained in:
1
tests/gcode/linuxcnc_parameter_missing_equal_error.ngc
Normal file
1
tests/gcode/linuxcnc_parameter_missing_equal_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
#1
|
||||
1
tests/gcode/linuxcnc_parameter_missing_value_error.ngc
Normal file
1
tests/gcode/linuxcnc_parameter_missing_value_error.ngc
Normal file
@@ -0,0 +1 @@
|
||||
#1 =
|
||||
2
tests/gcode/linuxcnc_unary_unknown_c_word_error.ngc
Normal file
2
tests/gcode/linuxcnc_unary_unknown_c_word_error.ngc
Normal file
@@ -0,0 +1,2 @@
|
||||
#1 = CZZ[1]
|
||||
G1 X#1 F100
|
||||
@@ -0,0 +1,2 @@
|
||||
#1 = BZZ[1]
|
||||
G1 X#1 F100
|
||||
2
tests/gcode/linuxcnc_unary_unknown_e_word_error.ngc
Normal file
2
tests/gcode/linuxcnc_unary_unknown_e_word_error.ngc
Normal file
@@ -0,0 +1,2 @@
|
||||
#1 = EZZ[1]
|
||||
G1 X#1 F100
|
||||
2
tests/gcode/linuxcnc_unary_unknown_f_word_error.ngc
Normal file
2
tests/gcode/linuxcnc_unary_unknown_f_word_error.ngc
Normal file
@@ -0,0 +1,2 @@
|
||||
#1 = FZZ[1]
|
||||
G1 X#1 F100
|
||||
2
tests/gcode/linuxcnc_unary_unknown_l_word_error.ngc
Normal file
2
tests/gcode/linuxcnc_unary_unknown_l_word_error.ngc
Normal file
@@ -0,0 +1,2 @@
|
||||
#1 = LZZ[1]
|
||||
G1 X#1 F100
|
||||
2
tests/gcode/linuxcnc_unary_unknown_r_word_error.ngc
Normal file
2
tests/gcode/linuxcnc_unary_unknown_r_word_error.ngc
Normal file
@@ -0,0 +1,2 @@
|
||||
#1 = RZZ[1]
|
||||
G1 X#1 F100
|
||||
2
tests/gcode/linuxcnc_unary_unknown_s_word_error.ngc
Normal file
2
tests/gcode/linuxcnc_unary_unknown_s_word_error.ngc
Normal file
@@ -0,0 +1,2 @@
|
||||
#1 = SZZ[1]
|
||||
G1 X#1 F100
|
||||
2
tests/gcode/linuxcnc_unary_unknown_t_word_error.ngc
Normal file
2
tests/gcode/linuxcnc_unary_unknown_t_word_error.ngc
Normal file
@@ -0,0 +1,2 @@
|
||||
#1 = TZZ[1]
|
||||
G1 X#1 F100
|
||||
Reference in New Issue
Block a user