https://gitlab.synchro.net/main/sbbs/-/commit/286eefccd049901980c65f02
Added Files:
src/syncterm/scripts/load/wrentest.wren src/syncterm/scripts/runtests.wren
Modified Files:
src/syncterm/CMakeLists.txt GNUmakefile
Log Message:
SyncTERM: add Wren self-test suite (Alt+T runs against bash-PTY)
Two scripts:
- scripts/runtests.wren Ä Alt+T hotkey; imports the suite and
kicks off WrenTest.run(). In-tree only: filtered out of the
embed globs (GNUmakefile + CMakeLists.txt) so a stripped install
doesn't try to import the suite at every connect.
- scripts/load/wrentest.wren Ä the suite, loaded on demand by the
module loader. Six inline binding sanity checks (Conn.connected,
Conn.type, Screen.size, CTerm.x/y, Console.total grows on print,
Hook.onMatch leading-.* rejection) plus two sentinel-driven shell
roundtrips (literal echo, capture group) using a single
Hook.onMatch dispatcher and a Hook.every watchdog. PTY-echo
duplicates are guarded by a __pending-equals check.
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net