From 3a5a6d3b04dc4e17a42225afb243eecb3502ead6 Mon Sep 17 00:00:00 2001 From: Anders Betts Date: Sun, 20 Sep 2026 21:47:22 +0200 Subject: tests: named test_core sections with --only --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'AGENTS.md') 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 ` + (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. -- cgit v1.3