[roottest] use cmake for all root/tree tests#19516
Closed
linev wants to merge 33 commits intoroot-project:masterfrom
Closed
[roottest] use cmake for all root/tree tests#19516linev wants to merge 33 commits intoroot-project:masterfrom
linev wants to merge 33 commits intoroot-project:masterfrom
Conversation
Delete unused tree.h and tree.C macros, were copied from root/io/treeproblem
Extra rule to copy rootlogin.C script Remove unused mixing.ref file
Was not used in Makefile
Reactivate runabstract.cxx test
Need extra work to use selectors and files from source directory
Avoid extra configuring of include path
Two tests failing while eventdata.root file is missing on eos
Getting linker failure when trying to compile hardTreeReaderTest.cpp macro. ``` hardTreeReaderTest_cpp_ACLiC_dict.obj : error LNK2019: unresolved external symbol "public: static class TClass * __cdecl B::Class(void)" (?Class@B@@SAPEAVTClass@@xz) referenced in function "public: class TBranch * __cdecl TTree::Branch<class B>(char const *,class B * *,int,int)" (??$Branch@VB@@@ttree@@QEAAPEAVTBranch@@PEBDPEAPEAVB@@hh@Z) [C:\ROOT-CI\build\roottest\root\tree\reader\roottest-root-tree-reader-hardTreeReaderTest-compile-macro.vcxproj] hardTreeReaderTest_cpp_ACLiC_dict.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl B::Streamer(class TBuffer &)" (?Streamer@B@@UEAAXAEAVTBuffer@@@z) [C:\ROOT-CI\build\roottest\root\tree\reader\roottest-root-tree-reader-hardTreeReaderTest-compile-macro.vcxproj] hardTreeReaderTest_cpp_ACLiC_dict.obj : error LNK2019: unresolved external symbol "public: static class TClass * __cdecl A::Class(void)" (?Class@A@@SAPEAVTClass@@xz) referenced in function "public: virtual class TClass * __cdecl A::IsA(void)const " (?IsA@A@@UEBAPEAVTClass@@xz) [C:\ROOT-CI\build\roottest\root\tree\reader\roottest-root-tree-reader-hardTreeReaderTest-compile-macro.vcxproj] hardTreeReaderTest_cpp_ACLiC_dict.obj : error LNK2001: unresolved external symbol "public: virtual void __cdecl A::Streamer(class TBuffer &)" (?Streamer@A@@UEAAXAEAVTBuffer@@@z) [C:\ROOT-CI\build\roottest\root\tree\reader\roottest-root-tree-reader-hardTreeReaderTest-compile-macro.vcxproj] C:\ROOT-CI\build\roottest\root\tree\reader\hardTreeReaderTest_cpp.dll : fatal error LNK1120: 4 unresolved externals [C:\ROOT-CI\build\roottest\root\tree\reader\roottest-root-tree-reader-hardTreeReaderTest-compile-macro.vcxproj] ```
This was referenced Aug 4, 2025
Was not used before Run provided methods Use compression 0 to avoid difference on different platforms
Add ref file, set fixed seed for gRandom
Instead DEPENDS and PRE_CMD use separate tests and fixtures to configure test dependencies
For reflex part create normal dictionary with library Load necessary reflex or cint library via ROOTEXE_OPTS, otherwise provided classes not available in named macros
Seems to be on Windows 32bit test works exactly the same
If fails while branch.root file left open. It works correctly on other platforms
Remove printout with pointer to allow tests on Windows, otherwise `grep -v 0x` has to be involved which excludes Windows usage
Avoid duplication of dictionary when compile these macros on Windows
Build dictionary in convertIssues/ subdir and correspondent lib before running test Remove exe bit from many sources Remove rootlogon.C script - used only with runiobug.C, where necessary script load with ROOTEXE_OPTS
Typical is compilation problem with dictionaries Or use or utils.cc
Replace <Riostream.h> by <iostream> Replace <stdio.h> by <cstdio>
ABC used in some Windows headers as type and conflict with ABC type name used in the original test
On Mac platform may produce compiler warnings
9a5d2d1 to
7a64410
Compare
Member
|
Is there a way to split the PR by group of 2 or 3 directories? |
Test Results 21 files 21 suites 3d 7h 2m 38s ⏱️ Results for commit 7a64410. |
Member
Author
Yes, it is possible. There are 33 commits. How much PRs you are want? |
Member
|
You leave it as is or you can split. The difference is that it takes a bit to review each directories and the more there is the harder it is to keep track of which one I have reviewed. |
Member
Author
|
@pcanal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.