You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-`cargo run --release` invokes `probe-rs download` (flash + exit). The probe is released immediately so `telepath-shell` can attach.
70
77
71
-
### `examples/loopback-demo`
78
+
### `examples/host-pty-server`
72
79
- IS a workspace member (`std` target, no cross-compile). Build with `cargo build --workspace`.
73
-
- MUST exercise the full wire path including COBS framing — it is the primary hardware-free regression for `telepath-server` and `telepath-client`.
80
+
- MUST exercise the full wire path including COBS framing via a real PTY transport — it is the primary hardware-free regression for `telepath-server` and the serial path of`telepath-client`.
74
81
- MUST use only public APIs of the dependent crates; it MUST NOT poke internal state to aid the round-trip.
75
-
- CI runs `timeout 30 cargo run -p loopback-demo` and grep-asserts the `ping -> 0xDEADBEEF` output on every push.
82
+
- On startup, prints `HOST_PTY_SERVER_PATH=<path>` to stdout then flushes; the test harness reads this to obtain the slave device path.
83
+
- CI spawns `host-pty-server` in background, reads the slave path, runs `telepath-shell --features serial --port <path> --exec ping`, and grep-asserts `ping -> 0xDEADBEEF`.
76
84
77
85
### `tools/telepath-shell`
78
86
- MUST be built separately; it is excluded from the workspace.
0 commit comments