zvec/cmake
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
..
bazel.cmake feat(test): enable parallel tests (#384) 2026-05-12 23:14:17 +08:00
iOSBundleInfo.plist.in feat: add iOS build support (#321) 2026-04-09 16:14:26 +08:00
option.cmake feat: add iOS build support (#321) 2026-04-09 16:14:26 +08:00
utils.cmake feat: windows support (#216) 2026-03-30 20:47:34 +08:00