Files
mcde/tests
lotherk 63fedd905a dtchat: test the packaged adapter layout (T10.8)
tests/packaged_layout.sh starts dtchat under a private Xvfb with one account
whose "adapter" field is empty.  The runtime has to resolve
<dir of dtchat>/dtchat-telegram and start it; DTCHAT_TELEGRAM_FAKE=1 makes
the adapter speak without an account, and DTCHAT_ACCOUNTS_DEBUG logs the
resolved path.  The test accepts both layouts: the libtool build (the
wrapper in programs/dtchat starts the real binary from .libs, where the
adapter sits) and the installed prefix (build/mcde-root/dt/bin), and it
matches the path the runtime actually logged instead of assuming one.

Measured: the libtool layout started
build/mcde-host/programs/dtchat/.libs/dtchat-telegram, the installed prefix
started build/mcde-root/dt/bin/dtchat-telegram, both from an empty adapter
field, and the adapter answered with its connecting state; all ok.  The
test uses its own display number so it can run beside other Xvfb sessions.
Harness entry DtChat/packaged_layout added (52 entries).
2026-11-17 13:04:08 +00:00
..
2026-11-17 10:02:33 +00:00