Skip to content

Commit 73ece93

Browse files
linevpcanal
authored andcommitted
[roottest] improve root/treeproxy/valdim3 test
Compile generated selector before executing it. Properly setup fixtures dependencies
1 parent df80b8e commit 73ece93

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

roottest/root/treeproxy/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,11 @@ ROOTTEST_ADD_TEST(val3dimSel
5858
FIXTURES_REQUIRED root-treeproxy-createvaldim3-fixture
5959
FIXTURES_SETUP root-treeproxy-val3dimSel-fixture)
6060

61+
ROOTTEST_COMPILE_MACRO(${CMAKE_CURRENT_BINARY_DIR}/val3dimSel.h
62+
FIXTURES_REQUIRED root-treeproxy-val3dimSel-fixture
63+
FIXTURES_SETUP root-treeproxy-val3dimSel_compile-fixture)
64+
6165
ROOTTEST_COMPILE_MACRO(runvaldim3.C
62-
FIXTURES_REQUIRED root-treeproxy-Track-fixture
6366
FIXTURES_SETUP root-treeproxy-runvaldim3-fixture)
6467

6568
ROOTTEST_ADD_TEST(valdim3
@@ -68,11 +71,12 @@ ROOTTEST_ADD_TEST(valdim3
6871
ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")"
6972
-e "(void)gSystem->Load(\"Track_C\")"
7073
FIXTURES_REQUIRED root-treeproxy-val3dimSel-fixture
74+
root-treeproxy-val3dimSel_compile-fixture
75+
root-treeproxy-Track-fixture
7176
root-treeproxy-runvaldim3-fixture)
7277

7378
ROOTTEST_COMPILE_MACRO(runfullmc.C
7479
FIXTURES_SETUP root-treeproxy-runfullmc-fixture)
75-
7680
ROOTTEST_ADD_TEST(fullmcsel
7781
MACRO runfullmc.C+
7882
MACROARG 4

0 commit comments

Comments
 (0)