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

[BUG] rapids_test_install_relocatable() does not play nice with gtest_discover_tests(DISCOVERY_MODE PRE_TEST) #690

Open
Jacobfaib opened this issue Sep 15, 2024 · 0 comments
Labels
? - Needs Triage Need team to review and classify bug Something isn't working

Comments

@Jacobfaib
Copy link
Contributor

Full description of the bug can be found here: https://gitlab.kitware.com/cmake/cmake/-/issues/26294 (specifically https://gitlab.kitware.com/cmake/cmake/-/issues/26294#note_1568638)...

...but the TL;DR is that the CTestInstall.cmake rewriting done by rapids_test_install_relocatable() eventually leads to include()-ing GoogleTestAddTests.cmake. This module -- if called in scripting mode (which it will be at install-time) -- will attempt to call a function which expects certain variables to be predefined. These variables are not defined, and hence install errors out.

@Jacobfaib Jacobfaib added ? - Needs Triage Need team to review and classify bug Something isn't working labels Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? - Needs Triage Need team to review and classify bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant