按建议继续完成后续工作

结论:upstream rs274 side-by-side 基线已继续扩展到 file-open reset 和 O-word subroutine fixture;完整 native 验证已通过。
This commit is contained in:
2026-06-07 22:48:01 +08:00
parent 40f8103c94
commit fc3dd447e9
4 changed files with 19 additions and 7 deletions

View File

@@ -12,11 +12,13 @@ FIXTURES=(
coordinate_offsets
cutter_comp_motion
feed_control_modes
file_open_reset
g53_machine_coordinates
length_units
plane_selection
modal_incremental
numbered_params
oword_subroutine
percent_file_finish
position_params
spindle_orient
@@ -37,10 +39,15 @@ normalize_standalone_events() {
return sprintf("%.12g", value + 0)
}
/^canon_event=/ {
/^canon_event=/ || /^(STRAIGHT_(TRAVERSE|FEED)|SET_FEED_RATE) / {
line = $0
sub(/^canon_event=/, "", line)
if (line == "ON_RESET") {
print line
next
}
if (line ~ /^COMMENT: /) {
sub(/^COMMENT: /, "", line)
print "COMMENT|" line
@@ -228,6 +235,9 @@ normalize_upstream_rs274_output() {
sub(/^[[:space:]]*[0-9]+[[:space:]]+N\.\.\.\.\.[[:space:]]+/, "", line)
if (line == "ON_RESET()") {
if (!seen_reset) {
print "ON_RESET"
}
seen_reset = 1
next
}