Skip to content

Add GH16805 RNTupleProcessor regression test#22644

Open
matildamarjamaki wants to merge 4 commits into
root-project:masterfrom
matildamarjamaki:gh16805-rntuple-processor-test
Open

Add GH16805 RNTupleProcessor regression test#22644
matildamarjamaki wants to merge 4 commits into
root-project:masterfrom
matildamarjamaki:gh16805-rntuple-processor-test

Conversation

@matildamarjamaki

Copy link
Copy Markdown

Summary

Adds a regression test for the GH16805 RNTupleProcessor use case.

The test creates several RNTuples corresponding to the original TTree setup ("stepzero", "stepone" and "topLevelFriend"), composes them using "RNTupleProcessor::CreateChain" and "RNTupleProcessor::CreateJoin" and validates the resulting values with "EXPECT_EQ".

The goal is to provide a simple regression test covering a TTree-friends-like workflow implemented with RNTupleProcessor.

@vepadulano vepadulano 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.

Thank you @matildamarjamaki for this contribution, I believe it's a good addition! I left a couple of minor remarks but the changes look already good.

Comment thread tree/ntuple/test/CMakeLists.txt Outdated
Comment thread tree/ntuple/test/ntuple_processor_gh16805.cxx Outdated
Comment thread tree/ntuple/test/ntuple_processor_gh16805.cxx Outdated
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 12h 10m 3s ⏱️
 3 870 tests  3 863 ✅   0 💤 7 ❌
76 440 runs  76 328 ✅ 105 💤 7 ❌

For more details on these failures, see this check.

Results for commit a9d2dcc.

♻️ This comment has been updated with latest results.

@vepadulano vepadulano 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.

Thanks for addressing the comments! Just two last minor suggestions from my side

Comment thread tree/ntuple/test/CMakeLists.txt Outdated
Comment thread tree/ntuple/test/ntuple_processor.cxx

@enirolf enirolf 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.

Very nice! I have one minor comment from my side, once that's addressed from my side it's good to go.

Comment thread tree/ntuple/test/ntuple_processor.cxx Outdated
Comment on lines +814 to +816
"gh16805_rntuple_friend_0.root",
"gh16805_rntuple_friend_1.root",
"gh16805_rntuple_friend_2.root"

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.

To ensure consistency between terms, I would be in favor to use only "join" when talking about RNTuple, instead of "friends".

Comment thread tree/ntuple/test/ntuple_processor_gh16805.cxx Outdated
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.

4 participants