Skip to content

Conversation

@guitargeek
Copy link
Contributor

We don't want to rely on environment variables like ROOTSYS in the tutorials, and we should also not leak details of the test setup like $ROOTSYS/runtutorials in the user-facing tutorials.

To make tutorial environment variables also work on Windows when they include paths with multiple elements, the first commit avoids the use of the ENVIRONMENT argument for the ROOT test macros, because it doesn't support multiple path elements on Windows.

This is a spinoff of #21018.

@github-actions
Copy link

github-actions bot commented Jan 28, 2026

Test Results

    22 files      22 suites   3d 14h 50m 2s ⏱️
 3 774 tests  3 772 ✅ 0 💤 2 ❌
75 059 runs  75 057 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit 173f8b0.

♻️ This comment has been updated with latest results.

Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

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

LGTM.

@guitargeek guitargeek force-pushed the tutorials_env branch 4 times, most recently from dd3eddf to 5966926 Compare January 29, 2026 14:02
We don't want to rely on environment variables like `ROOTSYS` in the
tutorials, and we should also not leak details of the test setup like
`$ROOTSYS/runtutorials` in the user-facing tutorials.
@guitargeek guitargeek merged commit 2be4fbe into root-project:master Jan 29, 2026
27 of 30 checks passed
@guitargeek guitargeek deleted the tutorials_env branch January 29, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants