yams/tests/support
Trevon 837bc641b3
test(infra): give every Catch2 process a private XDG_STATE_HOME (#296)
SessionService reads the current session from XDG_STATE_HOME. On a build
host whose user had an auto-created session ("auto: /data") with watch
enabled, every test that booted a ServiceManager inherited it, the session
watcher walked /data during init, and six daemon tests timed out. With the
state dir isolated the same six pass.

The shared test main now points XDG_STATE_HOME at a per-process temp dir
when the caller did not set one, and removes it at exit. A small test checks
the process sees no host session.

Signed-off-by: trvon <me@trevon.dev>
2026-10-14 08:32:56 -06:00
..
catch2_main.cpp test(infra): give every Catch2 process a private XDG_STATE_HOME (#296) 2026-10-14 08:32:56 -06:00
temp_dir_scope.hpp linter run from windows work 2025-12-09 21:11:09 -05:00
test_rusage.hpp feat(profiling): Tracy for every library, zones on p2p and memory-sync, per-test CPU/RSS (#294) 2026-10-14 08:32:56 -06:00