按建议,继续完成后续工作

结论:新增并接入 emcStatus 机器单位边界探针,native 验证链通过。
This commit is contained in:
2026-06-07 23:44:26 +08:00
parent 5e58f4d811
commit 3ef68fe2e5
6 changed files with 74 additions and 2 deletions

View File

@@ -77,6 +77,8 @@ check_exitcode() {
check_source_probe_coverage
check_exitcode linuxcnc_interp_state_probe
check_exitcode linuxcnc_emc_status_probe
check_exitcode linuxcnc_emc_status_probe.run
check_exitcode linuxcnc_inifile_source_probe
check_exitcode linuxcnc_tp_api_probe
check_exitcode linuxcnc_tp_api_probe.run
@@ -202,6 +204,13 @@ check_exitcode linuxcnc_rs274ngc_pre_source_probe
check_exitcode linuxcnc_interp_base_source_probe
check_exitcode linuxcnc_gomath_source_probe
EMC_STATUS_STDOUT="$BUILD_DIR/linuxcnc_emc_status_probe.run.stdout.log"
grep -Fq "emc_status_default_linear_units=1" "$EMC_STATUS_STDOUT"
grep -Fq "emc_status_default_units_visible=1" "$EMC_STATUS_STDOUT"
grep -Fq "emc_status_default_machine_units_mm=1" "$EMC_STATUS_STDOUT"
grep -Fq "emc_status_inch_machine_units_visible=1" "$EMC_STATUS_STDOUT"
grep -Fq "emc_status_mm_machine_units_visible=1" "$EMC_STATUS_STDOUT"
NAMEDPARAM_STDOUT="$BUILD_DIR/linuxcnc_namedparam_harness.run.stdout.log"
grep -Fq "init_named_parameters=0" "$NAMEDPARAM_STDOUT"
grep -Fq "global_named_count=57" "$NAMEDPARAM_STDOUT"