-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[CMake] Fix a few small issues #17425
base: master
Are you sure you want to change the base?
Conversation
hageboeck
commented
Jan 14, 2025
- Add a few missing labels to unittests
- Add warnings or errors when ROOT is configured in a way that cannot work (e.g. asking for webdisplay without http)
With http disabled, webdisplay encounters an error during build time. Here, the error is pushed to cmake configure time.
Previously, no specific component was required, so even though OpenSSL might be found in the system, the OpenSSL::SSL target might have been missing.
Although they run python, pyunittests were not labelled as python tests.
When switching off http, and switching webgui on, webgui disables itself. Instead emitting a helpful warning, a message that can easily be missed was printed. Since the user might have intended to switch on the webgui, ROOT should warn before switching it off.
@@ -871,10 +871,12 @@ if(ROOT_pyroot_FOUND) | |||
analysis/dataframe/df032_RDFFromNumpy.py | |||
math/fit/combinedFit.py | |||
math/fit/multifit.py | |||
math/fit/NumericalMinimization.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to this PR per se. Do you know why we use FILE(GLOB ....
here instead of just a hard coded list?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess the strategy is copied from a different location, and the advantage of GLOB
is obviously the support for expressions like:
math/fit/*_numpy.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is an example:
Line 751 in d72ed64
legacy/pyroot/*py # legacy ... |
I guess people just use globs for all the vetos, so you can switch between list and globs.
Test Results 18 files 18 suites 3d 20h 8m 29s ⏱️ Results for commit 86155b7. ♻️ This comment has been updated with latest results. |
… installed. Instead of checking at test time whether the python packages required by a tutorial are installed, the check is now done at configure time. If a required package is not installed, the test is marked as disabled, so it shows in CTest, but doesn't generate a failure. This should help the lcg people, who needed to veto these tests manually.