-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[roottest] use cmake for root/treeproxy tests #19565
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
d5f5b95
[roottest] use cmake for root/treeproxy/split test
linev 35783b7
[roottest] use cmake for root/treeproxy/stlvec
linev cbe590a
[roottest] use cmake for root/treeproxy/vectorint tests
linev 980b25b
[roottest] add missing ClingWorkAroundUnloadingVTABLES define
linev 6a30c34
[roottest] use cmake for root/treeproxy tests
linev 4ffbe74
[roottest] use ClassDefOverride for Track class in treeproxy tests
linev fb56bfc
[roottest] load Track_C instead linking with runvaldim3_C
linev 04ba182
[roottest] remove ifdef from runSelectorCintTest.C
linev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,124 @@ | ||
| #------------------------------------------------------------------------------- | ||
| # | ||
| # Placeholder file to translate the tests to the new CTest system. Meanwhile we | ||
| # define a CTest test that calls 'make' in ${CMAKE_CURRENT_SOURCE_DIR} | ||
| # | ||
| #------------------------------------------------------------------------------- | ||
| ROOTTEST_ADD_OLDTEST(LABELS longtest) | ||
| ROOTTEST_ADD_TESTDIRS() | ||
|
|
||
| ROOTTEST_ADD_TEST(leaflist | ||
| MACRO runleaflist.C | ||
| COPY_TO_BUILDDIR simPosProxy.C hsimpleProxy.C | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF leaflist.ref) | ||
|
|
||
| ROOTTEST_ADD_TEST(createRed | ||
| MACRO createRed.C | ||
| COPY_TO_BUILDDIR reduced.N00008257_0002.spill.sntp.R1_18.0.root sum.C | ||
| FIXTURES_SETUP root-treeproxy-createRed-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(reducedSpill | ||
| MACRO runreducedSpill.C | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF reducedSpill.ref | ||
| FIXTURES_REQUIRED root-treeproxy-createRed-fixture | ||
| FIXTURES_SETUP root-treeproxy-reducedSpill-fixture) | ||
|
|
||
|
|
||
| # was not run in Makefile, run after reducedSpill while creating same red.h file again | ||
| ROOTTEST_ADD_TEST(producereducedSpill | ||
| MACRO producereducedSpill.C | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF producereducedSpill.ref | ||
| FIXTURES_REQUIRED root-treeproxy-reducedSpill-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(createSearch | ||
| MACRO createSearch.C | ||
| COPY_TO_BUILDDIR p0dNuESearch.root pns.C | ||
| FIXTURES_SETUP root-treeproxy-createSearch-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(execsearch | ||
| MACRO execsearch.C | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF execsearch.ref | ||
| FIXTURES_REQUIRED root-treeproxy-createSearch-fixture) | ||
|
|
||
| # copy files that produced TTrack class has proper set of class declaration file | ||
| ROOTTEST_ADD_TEST(copydim3files | ||
| COMMAND ${CMAKE_COMMAND} -E echo "copy dim3 files" | ||
| COPY_TO_BUILDDIR val3dim.C Track.h Track.C | ||
| FIXTURES_SETUP root-treeproxy-copydim3files-fixture) | ||
|
|
||
| ROOTTEST_COMPILE_MACRO(Track.C | ||
| FIXTURES_REQUIRED root-treeproxy-copydim3files-fixture | ||
| FIXTURES_SETUP root-treeproxy-Track-fixture) | ||
|
|
||
| ROOTTEST_COMPILE_MACRO(createvaldim3.C | ||
| BUILDLIB Track_C | ||
| FIXTURES_REQUIRED root-treeproxy-Track-fixture | ||
| FIXTURES_SETUP root-treeproxy-createvaldim3-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(val3dimSel | ||
| MACRO createvaldim3.C+ | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| FIXTURES_REQUIRED root-treeproxy-createvaldim3-fixture | ||
| FIXTURES_SETUP root-treeproxy-val3dimSel-fixture) | ||
|
|
||
| ROOTTEST_COMPILE_MACRO(runvaldim3.C | ||
| FIXTURES_REQUIRED root-treeproxy-Track-fixture | ||
| FIXTURES_SETUP root-treeproxy-runvaldim3-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(valdim3 | ||
| MACRO runvaldim3.C+ | ||
| OUTREF valdim3.ref | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| -e "(void)gSystem->Load(\"Track_C\")" | ||
| FIXTURES_REQUIRED root-treeproxy-val3dimSel-fixture | ||
| root-treeproxy-runvaldim3-fixture) | ||
|
|
||
| ROOTTEST_COMPILE_MACRO(runfullmc.C | ||
| FIXTURES_SETUP root-treeproxy-runfullmc-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(fullmcsel | ||
| MACRO runfullmc.C+ | ||
| MACROARG 4 | ||
| COPY_TO_BUILDDIR full-mcfile.root fullmc.cxx | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| FIXTURES_REQUIRED root-treeproxy-runfullmc-fixture | ||
| FIXTURES_SETUP root-treeproxy-fullmcsel-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(fullmc | ||
| MACRO runfullmc.C+ | ||
| MACROARG 5 | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF fullmc.ref | ||
| FIXTURES_REQUIRED root-treeproxy-runfullmc-fixture | ||
| root-treeproxy-fullmcsel-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(make_tuple | ||
| MACRO runmake_tuple.C | ||
| COPY_TO_BUILDDIR make_tuple.C make_tuple_draw.C | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF make_tuple.ref) | ||
|
|
||
| ROOTTEST_ADD_TEST(friendchain | ||
| MACRO runfriendchain.C | ||
| COPY_TO_BUILDDIR vertex.C make_chains.cxx | ||
| longtree1.root longtree2.root | ||
| floattree1.root floattree2.root | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF friendchain.ref) | ||
|
|
||
| ROOTTEST_ADD_TEST(btagobjsSel | ||
| MACRO runbtagobjs.C | ||
| MACROARG 4 | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| COPY_TO_BUILDDIR btagobjs.root btagobjsScript.h btagobjsScript.cxx | ||
| FIXTURES_SETUP root-treeproxy-btagobjsSel-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(btagobjsProxy | ||
| MACRO runbtagobjs.C | ||
| MACROARG 5 | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF btagobjsProxy.ref | ||
| FIXTURES_REQUIRED root-treeproxy-btagobjsSel-fixture) | ||
|
|
||
| ROOTTEST_ADD_TEST(VectorProxyTest | ||
| MACRO execVectorProxyTest.C | ||
| COPY_TO_BUILDDIR VectorProxyTest.h VectorProxyTest.C VectorProxyTest.root | ||
| ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")" | ||
| OUTREF execVectorProxyTest.ref) | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| #include "Track.h" | ||
|
|
||
| #if defined(__MAKECINT__) && !defined(R__ACLIC_ROOTMAP) | ||
| #ifdef __ROOTCLING__ | ||
| #pragma link C++ class Track+; | ||
| #endif |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ class Track : public TObject { | |
| } | ||
| } | ||
| } | ||
| ClassDef(Track,1); | ||
| ClassDefOverride(Track,1); | ||
| }; | ||
| #endif | ||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.