Skip to content

[roottest] Use std::filesystem in checkRuntimeIncludePaths.C - #23676

Open
guitargeek wants to merge 1 commit into
root-project:masterfrom
guitargeek:roottest-checkruntimeincludepaths-filesystem
Open

guitargeek wants to merge 1 commit into
root-project:masterfrom
guitargeek:roottest-checkruntimeincludepaths-filesystem

Conversation

@guitargeek

@guitargeek guitargeek commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Replace the hand-written path normalization in the interpreted test macro with std::filesystem::path::lexically_normal() and std::filesystem::weakly_canonical(). The helpers were written by hand in PR #23649 because an earlier revision of that PR, which used and , failed on the Windows CI with:

[runStaticInitializersOnce]: Failed to materialize symbols: { ... }

This change reintroduces only <filesystem>, keeping the hand-written flag parser instead of <regex>, to show that failure in isolation. See #23664.

Replace the hand-written path normalization in the interpreted test
macro with std::filesystem::path::lexically_normal() and
std::filesystem::weakly_canonical(). The helpers were written by hand in
PR root-project#23649 because an earlier revision of that PR, which used
<filesystem> and <regex>, failed on the Windows CI with:

    [runStaticInitializersOnce]: Failed to materialize symbols: { ... }

This change reintroduces only <filesystem>, keeping the hand-written
flag parser instead of <regex>, to show that failure in isolation.
See root-project#23664.
@github-actions

github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 11h 11m 30s ⏱️
 3 863 tests  3 861 ✅ 0 💤 2 ❌
72 341 runs  72 339 ✅ 0 💤 2 ❌

For more details on these failures, see this check.

Results for commit d4bf976.

♻️ This comment has been updated with latest results.

@dpiparo dpiparo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

provided the failures are understood

@dpiparo dpiparo closed this Oct 14, 2026
@dpiparo dpiparo reopened this Oct 14, 2026

This branch has not been deployed

No deployments
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.

2 participants