diff options
| author | Anders Betts <anders.betts@gmail.com> | 2026-09-20 21:47:22 +0200 |
|---|---|---|
| committer | Anders Betts <anders.betts@gmail.com> | 2026-09-20 21:47:22 +0200 |
| commit | 3a5a6d3b04dc4e17a42225afb243eecb3502ead6 (patch) | |
| tree | d3b4a3151270c09baa6736a7c7d33b5f5c23351f /AGENTS.md | |
| parent | 8351fa7752bb8341ef405a37ff7c73142715e981 (diff) | |
| download | bokf-3a5a6d3b04dc4e17a42225afb243eecb3502ead6.tar.gz bokf-3a5a6d3b04dc4e17a42225afb243eecb3502ead6.zip | |
tests: named test_core sections with --only
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -84,6 +84,9 @@ first (spec in `TUI-GUIDELINES.md` + tests in `tests/test_tui.c`). - Server changes: `make test` (runs `make check`, the server suite and the TUI unit tests). UI changes: also run `make test-pty`, which drives the real TUI over a pty against a throwaway `/tmp` daemon and asserts on screen text. +- Iterate on one `test_core` section with `./build/test_core --only <name>` + (runs that test's dependencies first); `./build/test_core --list` prints the + names and an unknown name exits 2. - Sanitizers: `make test-asan` (ASan) and `make test-ubsan` (UBSan) build `test_core` in `build-asan`/`build-ubsan`. Run them after touching allocation or arithmetic paths. |
