Skip to content

[CMake] Fix build failure when root is configured with -Dtesting=Off.#22716

Merged
hageboeck merged 1 commit into
root-project:masterfrom
hageboeck:hs3_config_error
Jun 26, 2026
Merged

[CMake] Fix build failure when root is configured with -Dtesting=Off.#22716
hageboeck merged 1 commit into
root-project:masterfrom
hageboeck:hs3_config_error

Conversation

@hageboeck

Copy link
Copy Markdown
Member

The addition of "test_roofit_hs3testsuite" broke all CI builds with -Dtesting=Off (e.g. the doxygen builds), because
test_roofit_hs3testsuite=On and testing=Off
triggers a FATAL_ERROR.
Here, we convert testing=Off into a global switch that has precedence over test_roofit_hs3testsuite=On.

The addition of "test_roofit_hs3testsuite" broke all CI builds with
-Dtesting=Off (e.g. the doxygen builds), because
  test_roofit_hs3testsuite=On and testing=Off
triggers a FATAL_ERROR.
Here, we make testing=Off into a global switch that has precedence over
test_roofit_hs3testsuite=On.

@guitargeek guitargeek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I originally wanted to go for the error here to prevent disappointment that your test_roofit_hs3testsuite=ON would be silently ignored, but now I see that this is impractical.

@github-actions

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 10h 54m 7s ⏱️
 3 876 tests  3 876 ✅ 0 💤 0 ❌
75 056 runs  75 056 ✅ 0 💤 0 ❌

Results for commit 4230978.

@hageboeck hageboeck merged commit dcf0b4e into root-project:master Jun 26, 2026
33 of 34 checks passed
@hageboeck hageboeck deleted the hs3_config_error branch June 26, 2026 16:44
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.

3 participants