summaryrefslogtreecommitdiff
path: root/AGENTS.md
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 21:47:22 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 21:47:22 +0200
commit3a5a6d3b04dc4e17a42225afb243eecb3502ead6 (patch)
treed3b4a3151270c09baa6736a7c7d33b5f5c23351f /AGENTS.md
parent8351fa7752bb8341ef405a37ff7c73142715e981 (diff)
downloadbokf-3a5a6d3b04dc4e17a42225afb243eecb3502ead6.tar.gz
bokf-3a5a6d3b04dc4e17a42225afb243eecb3502ead6.zip
tests: named test_core sections with --only
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 89b95b2..63c8adf 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -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.