yams/tests/integration/smoke
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
..
add_command_sandbox_smoke_catch2_test.cpp fix: fence enrichment completion and reconcile promotion prerequisites (#157) 2026-09-12 18:53:12 -06:00
cli_config_smoke_catch2_test.cpp fix: removing gtest and continued cleanup work of test suite 2026-04-14 12:33:17 -04:00
cli_subprocess_segfault_regression_smoke_catch2_test.cpp refactor: simplify runtime paths and harden retrieval (#61) 2026-07-31 14:16:45 -04:00
cli_transport_fallback_smoke_catch2_test.cpp refactor: simplify runtime paths and harden retrieval (#61) 2026-07-31 14:16:45 -04:00
daemon_cli_start_status_regression_smoke_catch2_test.cpp refactor: simplify runtime paths and harden retrieval (#61) 2026-07-31 14:16:45 -04:00
daemon_client_smoke_catch2_test.cpp fix: removing gtest and continued cleanup work of test suite 2026-04-14 12:33:17 -04:00
daemon_embedded_streaming_smoke_catch2_test.cpp feat(search): make topology-assisted retrieval the default (#57) 2026-07-13 20:26:43 -04:00
daemon_embeddings_regression_smoke_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -04:00
daemon_ingestion_reliability_smoke_catch2_test.cpp fix(build): restore clean test and benchmark links 2026-08-06 09:59:07 -04:00
graph_command_sandbox_smoke_catch2_test.cpp fix(graph): --scope-cwd clusters, --name lookup, --limit (#280 follow-ups) (#284) 2026-10-09 00:01:24 -06:00
integrity_auto_repair_smoke_catch2_test.cpp fix: removing gtest and continued cleanup work of test suite 2026-04-14 12:33:17 -04:00
mcp_doctor_positive_smoke_catch2_test.cpp test(ci): isolate ARM smoke lifecycles 2026-08-19 14:34:04 -06:00
meson.build test(build): table-driven Catch2 registration and one suite vocabulary (#349) 2026-10-25 20:54:44 -06:00
pdf_search_smoke_catch2_test.cpp test: isolate process environment 2026-08-04 21:31:39 -04:00
search_graph_ux_smoke_catch2_test.cpp test(ci): isolate ARM smoke lifecycles 2026-08-19 14:34:04 -06:00
smoke_link_catch2_test.cpp fix: removing gtest and continued cleanup work of test suite 2026-04-14 12:33:17 -04:00
storage_compression_policy_builder_smoke_catch2_test.cpp refactor(config): unify flat TOML lookups 2026-08-05 20:53:17 -04:00
storage_compression_smoke_catch2_test.cpp feat(linter): running linter on codebase 2026-04-20 16:13:30 -04:00
test_main_smoke_catch2.cpp fix: removing gtest and continued cleanup work of test suite 2026-04-14 12:33:17 -04:00