https://gitlab.synchro.net/main/sbbs/-/commit/b77dab307bc17fc5957ed79e
Modified Files:
src/doors/syncretro/test_binds.c test_games.c
Log Message:
syncretro: give test_binds/test_games their own fixture dirs
Both tests wrote, read and removed a games.ini fixture in the
process cwd. Neither add_test() set a WORKING_DIRECTORY, so under
serial ctest they never collided, but ctest -j (or any future
parallel runner) would race one test's fopen(..., "w")/remove()
against the other's read.
Give each test its own fixture directory instead of sharing the
cwd: test_games.c now writes to gamesfx/games.ini, test_binds.c to bindsfx/games.ini, both created with xpdev's mkpath() so this stays
portable to MSVC. The nonexistent-directory assertions in
test_games.c are left untouched, since they still exercise a path
that does not exist.
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)