BBS: TELESC.NET.BR Assunto: src/ssh/CMakeLists.txt src/ssh/test/test_dhgex_provider.h De: Deuc¨ Data: Mon, 23 Mar 2026 20:49:18 -0700 ----------------------------------------------------------- https://gitlab.synchro.net/main/sbbs/-/commit/30feea027d05d936299b6747 Modified Files: src/ssh/CMakeLists.txt src/ssh/test/test_dhgex_provider.h Log Message: Cache test host keys to avoid repeated RSA keygen test_generate_host_key() now checks DSSH_TEST_ED25519_KEY and DSSH_TEST_RSA_KEY environment variables. If set to a file path: - Load the key from that file if it exists - Otherwise generate and save it for next time If the env var is not set, generates a fresh key every time (preserving original behavior for manual runs). CMakeLists.txt sets both env vars to build-directory paths for all CTest configurations, so keys are generated once and reused across the 23 test runs. Test suite time: ~130s -> ~42s (3x speedup). Co-Authored-By: Claude Opus 4.6 (1M context)n --- mSynchronetn hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net ----------------------------------------------------------- [Voltar]