zvec/tests/db/crash_recovery
Cuiys 42958caef5
feat(test): enable parallel tests (#384)
- Set unique WORKING_DIRECTORY per test binary via cc_test()/cuda_test() to prevent filesystem path conflicts when running tests in parallel. Each test runs in ${CMAKE_BINARY_DIR}/test_tmp/${test_name}/.

- Enable parallel ctest execution in the unittest target with ProcessorCount-based --parallel flag (defaults to NPROC - 1).

- Set TEST_BINARY_DIR environment variable for crash recovery tests so they can locate helper binaries from isolated working directories.

- Update LocateDataGenerator() and LocateOptimizeGenerator() to search TEST_BINARY_DIR and TEST_BINARY_DIR/bin for helper executables.
2026-05-12 23:14:17 +08:00
..
CMakeLists.txt feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00
collection_optimizer.cc refactor: support UTF-8 file paths via std::filesystem (#359) 2026-05-08 17:44:22 +08:00
data_generator.cc ci: refact android ci (#330) 2026-04-15 15:37:51 +08:00
optimize_recovery_test.cc feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00
utility.h feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00
write_recovery_test.cc feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00