Skip to content

Commit e64dcc1

Browse files
linevpcanal
authored andcommitted
[roottest] improve root/treeproxy/stlvec test
Compile generated selector before using it
1 parent 73ece93 commit e64dcc1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

roottest/root/treeproxy/stlvec/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ ROOTTEST_ADD_TEST(selector
33
COPY_TO_BUILDDIR tlorentzvec.root analyze.h analyze.C cutting.h cutting.C
44
FIXTURES_SETUP root-treeproxy-stlvec-selector-fixture)
55

6+
ROOTTEST_COMPILE_MACRO(${CMAKE_CURRENT_BINARY_DIR}/tlorentzvecProxy.h
7+
FIXTURES_REQUIRED root-treeproxy-stlvec-selector-fixture
8+
FIXTURES_SETUP root-treeproxy-stlvec-tlorentzvecProxy-fixture)
9+
610
ROOTTEST_ADD_TEST(tlorentzvec
711
MACRO runtlorentzvec.C
812
OUTREF tlorentzvec.ref
913
ROOTEXE_OPTS -e "(void)gROOT->SetMacroPath(\"${CMAKE_CURRENT_BINARY_DIR}\")"
10-
FIXTURES_REQUIRED root-treeproxy-stlvec-selector-fixture)
14+
FIXTURES_REQUIRED root-treeproxy-stlvec-selector-fixture
15+
root-treeproxy-stlvec-tlorentzvecProxy-fixture)

0 commit comments

Comments
 (0)