Test data files are copied to the build dir here:
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/test_data" DESTINATION ${PROJECT_BINARY_DIR}) |
But this only happens when cmake runs, so if the test data is edited it will be stale when the tests are ran.
Suggest just running the tests in the source dir.