Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Runtime tests: fix creating tests in CMake build
During CMake, all runtime test files are copied into the CMake build directory using add_custom_command which issues 'cmake -E copy ...'. For some reason, the last file in the tests/runtime directory (tests/runtime/watchpoint) is never copied which causes two issues: - the watchpoint tests are never run in CI, - even if the local setup already has tests/runtime/watchpoint in the build directory (it seems to have been working in the past), it is never updated. I'm not sure if this is caused by our change or a CMake update, however, our approach is IMHO not correct as it makes the runtime_tests target depend on the runtime tests files from the source directory. Changing it to depend on the (newly copied) files from the build directory eliminates the above issue.
- Loading branch information