Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include missing CTest module #109

Merged
merged 1 commit into from
Dec 9, 2023
Merged

Include missing CTest module #109

merged 1 commit into from
Dec 9, 2023

Conversation

qak
Copy link
Collaborator

@qak qak commented Dec 4, 2023

Currently the libdivide project's CMakeLists.txt file sets up tests in a way that makes it possible to run the tests from the build directory by executing the ctest command. Yet the CMakeLists.txt file does not include the CTest CMake module anywhere. This pull request includes the CTest module in the appropriate location.

I'm actually surprised executing the ctest command to run libdivide's tests even worked without including the CTest module in the first place. Maybe one of the other included CMake modules ended up transitively loading the CTest module. This, however, would be undocumented behaviour (AFAIK) that should not be relied on.

@qak qak merged commit 8011839 into ridiculousfish:master Dec 9, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant