Skip to content
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

[hadd] add tests for hadd argument parsing #1201

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

silverweed
Copy link
Contributor

New test suite for hadd to go together with root-project/root#16090

COMMAND ${ROOT_root_CMD} -q -b -l "hadd_gen_input_tree.C(\"hadd_args_in.root\")"
)

ROOTTEST_ADD_TEST(test_hadd_args_n0
Copy link
Member

Choose a reason for hiding this comment

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

Does this test only verifies that the message printed by hadd are correct? If yes, should we add some (minimal) test that the file produces is as expected (minimal requirement: contains the object we expects).

Rather than a POSTCMD deleting the file, I recommend a PRECMD (or not when we want to test that hadd complains about existing files). We may also want to keep the file after the end to have an opportunity to hand check the file.

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