From ff2980569cfc14f686619d3108ffafd54e8aac6b Mon Sep 17 00:00:00 2001 From: cnc Date: Fri, 5 Jun 2026 22:34:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=81=E5=AE=9A=20ABORT=20=E7=83=AD=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=20source-linked=20=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test-linuxcnc-source-link.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test-linuxcnc-source-link.sh b/test-linuxcnc-source-link.sh index ff2471a..da48530 100755 --- a/test-linuxcnc-source-link.sh +++ b/test-linuxcnc-source-link.sh @@ -1459,6 +1459,11 @@ if CNC_SIM_RS274_FILE_MODE=1 CNC_SIM_RS274_VAR="$var_file" \ echo "expected linuxcnc_abort_hot_comment.ngc to fail" >&2 exit 1 fi +# Source basis: LinuxCNC src/emc/rs274ngc/interp_convert.cc +# convert_comment() routes ABORT hot comments through convert_param_comment() +# and setSavedError(), preserving expanded numbered and named parameters. +grep -Fq "execute failed: MixedCase param42=20.000000 named=4711.000000" \ + "$output_dir/cnc_sim_linuxcnc_source_abort_hot_comment.err" if CNC_SIM_RS274_FILE_MODE=1 CNC_SIM_RS274_VAR="$var_file" \ "$build_dir/linuxcnc_rs274_source_dump" tests/gcode/linuxcnc_ccomp_gouging_error.ngc \ >"$output_dir/cnc_sim_linuxcnc_source_ccomp_gouging_error.json" 2>"$output_dir/cnc_sim_linuxcnc_source_ccomp_gouging_error.err"; then