Skip to content

[roottest] use cmake for root/io tests [part5] #19287

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

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

Conversation

linev
Copy link
Member

@linev linev commented Jul 4, 2025

Major change is io/tree.
There many tests includes creation and dumping of tree content.
In Makefile it was sequential and dump into single file.
Now creation and reading of each tree run as separated test via run.C macro
Provide individual ref files for each reading test
Use small cmake function to configure dependency via all these tests

Use fixtures for better dependencies in several other tests

linev added 6 commits July 4, 2025 19:26
Use tail -120 to compare writing and reading of random data
Disable correspondent test on Windows where tail is not available
Simplify running of macro - remove extra set with loading of compiled macro.
For genreflex invocation use '- o filename.cpp' argument to prevent creation
of files in source directory
Pre-compile classes.C macro and load it with ROOTEXE_OPTS to avoid complex testing

Split tree cloning and creation on smaller steps and provide individual ref file
Make possible to create smaller steps and with proper dependencies
@linev linev force-pushed the roottest_io_part5 branch from 343412b to e612f0d Compare July 4, 2025 17:39
Copy link

github-actions bot commented Jul 4, 2025

Test Results

    20 files      20 suites   3d 8h 47m 41s ⏱️
 3 221 tests  3 221 ✅ 0 💤 0 ❌
62 809 runs  62 809 ✅ 0 💤 0 ❌

Results for commit e612f0d.

if(NOT MSVC OR win_broken_tests)
ROOTTEST_ADD_TEST(varyingArrayWrite
MACRO runvaryingArrayWrite.C+
OUTCNVCMD tail -120
Copy link
Member

Choose a reason for hiding this comment

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

It appears that the only difference on the log file might file the script name. We might be able to handle this with sed instead of tail.

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