yams/tests/integration/services
Trevon 316ad040fb
Some checks failed
Fuzz Smoke / libFuzzer smoke (push) Has been cancelled
test(build): table-driven Catch2 registration and one suite vocabulary (#349)
* test(build): register standard Catch2 tests from a table

165 of the 224 test executables in tests/meson.build were the same nine-line
executable() block plus a test() call placed far away. Each one is now a row in
catch2_test_table, and one loop at the end of the file builds and registers
them. Rows keep their place, so the branches around them still gate them.

A pair was folded only when the executable used the standard kwargs, exactly one
test() used it, and both calls sat under the same if/else branch. Tests with
extra env, cpp_args or more than one registration stay hand-written.

meson introspect --tests --targets is identical before and after for Debug and
TSan (351 tests, 369 targets). It is identical for ASan (262 tests) except for
the order of meson's generated DYLD_LIBRARY_PATH entries.

Signed-off-by: trvon <me@trevon.dev>

* test(build): one suite vocabulary and a concurrency label

Suite labels were a mix of tiers, subsystems, ticket IDs (yams-3s4, pbi-009)
and spelling variants (connection_pool and connection-pool, plugin and
plugins). Ticket IDs are gone, yams-<x> is now <x>, labels are kebab-case,
and synonyms are merged.

54 tests now carry 'concurrency': their own sources start threads, spawn
coroutines or wait on condition variables. When several tests share one
executable, only those whose names point at concurrent behaviour get the
label. 47 of them run in the TSan lane.

Only labels changed. Tests, commands, env, timeouts and targets are identical
in meson introspect, and every tier suite (unit, integration, slow, bench,
stress, mobile, ...) selects the same tests under TSan and ASan.

Signed-off-by: trvon <me@trevon.dev>

---------

Signed-off-by: trvon <me@trevon.dev>
2026-10-25 20:54:44 -06:00
..
content_extraction_catch2_test.cpp Search/grep UX, runtime hardening, and CI stabilization (#39) 2026-05-27 12:15:17 -04:00
grep_service_expectations_catch2_test.cpp chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00
ipc_conformance_catch2_test.cpp Stabilize daemon recovery and vector reconciliation (#36) 2026-05-23 21:21:55 -04:00
meson.build test(build): table-driven Catch2 registration and one suite vocabulary (#349) 2026-10-25 20:54:44 -06:00
retrieval_and_ingestion_catch2_test.cpp fix(tests): replace frozen expectations and harden release gates (#323) 2026-10-19 19:16:57 -06:00
sync_indexing_catch2_test.cpp test(memory-sync): stop the sync service off the apply lock in stage hooks (#352) 2026-10-25 20:54:41 -06:00
ui_cli_expectations_catch2_test.cpp chore(warnings): clean up compiler warnings on GCC, Clang and Apple Clang (#279) 2026-10-08 14:30:28 -06:00