按建议,继续下一步工作

结论:已将 LinuxCNC TP 源码纳入 wasm-port 的可复现 vendor 清单和 native probe 构建,新增真实 tpCreate/tpAddLine/tpRunCycle 线性运动验证,并通过 native probes 全量验证。
This commit is contained in:
2026-06-07 07:39:26 +08:00
parent 078f1f6f8e
commit e328394184
72 changed files with 27200 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ check_exitcode() {
}
check_exitcode linuxcnc_interp_state_probe
check_exitcode linuxcnc_tp_api_probe
check_exitcode linuxcnc_tp_api_probe.run
check_exitcode linuxcnc_namedparam_harness
check_exitcode linuxcnc_namedparam_harness.run
check_exitcode linuxcnc_interp_minimal_harness
@@ -82,6 +84,18 @@ grep -Fq "saved_has_5399=1" "$PARAMETER_FILE_STDOUT"
grep -Fq "saved_has_named_param=0" "$PARAMETER_FILE_STDOUT"
grep -Fq "backup_has_original_5161=1" "$PARAMETER_FILE_STDOUT"
TP_API_STDOUT="$BUILD_DIR/linuxcnc_tp_api_probe.run.stdout.log"
grep -Fq "tp_default_queue_size=32" "$TP_API_STDOUT"
grep -Fq "tp_err_ok=0" "$TP_API_STDOUT"
grep -Fq "tc_linear=1" "$TP_API_STDOUT"
grep -Fq "tc_circular=2" "$TP_API_STDOUT"
grep -Fq "pose_xyz=1,2,3" "$TP_API_STDOUT"
grep -Fq "tp_create=0" "$TP_API_STDOUT"
grep -Fq "tp_set_cycle_time=0" "$TP_API_STDOUT"
grep -Fq "tp_add_line=0" "$TP_API_STDOUT"
grep -Fq "tp_done_after_line=1" "$TP_API_STDOUT"
grep -Fq "tp_final_pos=1,0,0" "$TP_API_STDOUT"
check_fixture_output() {
local fixture="$1"
local expected="$2"