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

[NOT READY FOR MERGE] Fix the issue where cmake/ctest finds 0 test despite test binaries having been properly built #17136

Conversation

kingcrimsontianyu
Copy link
Contributor

@kingcrimsontianyu kingcrimsontianyu commented Oct 21, 2024

Description

The following command shows that cmake/ctest finds 0 test (although all the test binaries have been properly built and can be individually run in the /home/coder/cudf/cpp/build/latest/gtests directory).

ctest --test-dir /home/coder/cudf/cpp/build/latest -V -N

The reason is that the subproject KvikIO sets the cmake cache variable BUILD_TESTING to OFF and propagates it to cuDF project. This PR provides a fix.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@kingcrimsontianyu kingcrimsontianyu self-assigned this Oct 21, 2024
@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Oct 21, 2024
@kingcrimsontianyu kingcrimsontianyu added non-breaking Non-breaking change bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. and removed libcudf Affects libcudf (C++/CUDA) code. CMake CMake build issue labels Oct 21, 2024
@kingcrimsontianyu
Copy link
Contributor Author

kingcrimsontianyu commented Oct 21, 2024

The problem arises from curl: curl/curl#15351 . @robertmaynard will put the fix into kvikIO, which is the direct user of libcurl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant