Skip to content

Commit 8986a0b

Browse files
committed
[roottest] use libTestIoEvent in tree/cache test
Instead build new library and manage own sources - just reuse existing library. As it was before used in makefile
1 parent b931bf0 commit 8986a0b

File tree

6 files changed

+29
-807
lines changed

6 files changed

+29
-807
lines changed

roottest/root/tree/cache/CMakeLists.txt

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,21 +54,14 @@ ROOTTEST_ADD_TEST(LastCluster
5454
MACRO execLastCluster.C
5555
OUTREF execLastCluster.ref)
5656

57-
ROOTTEST_GENERATE_DICTIONARY(libRoottestTreeCacheEvent
58-
Event.h
59-
LINKDEF EventLinkDef.h
60-
SOURCES Event.cxx
61-
NO_ROOTMAP NO_CXXMODULE
62-
FIXTURES_SETUP root-tree-cache-dict-fixture)
63-
6457
if(compression_default STREQUAL "lz4")
6558
set(_ref execperfstattestLZ4.oref)
6659
else()
6760
set(_ref execperfstattestZLIB.oref)
6861
endif()
6962
ROOTTEST_ADD_TEST(perfstattest
7063
MACRO execperfstattest.C
71-
ROOTEXE_OPTS -e "(void)gSystem->Load(\"libRoottestTreeCacheEvent\")"
64+
ROOTEXE_OPTS -e "gInterpreter->AddIncludePath(\"${CMAKE_SOURCE_DIR}/roottest/root/io/event/\")" -e "gSystem->AddDynamicPath(\"${CMAKE_BINARY_DIR}/roottest/root/io/event/\")" -e "(void)gSystem->Load(\"libTestIoEvent\")"
7265
OUTREF ${_ref}
7366
ERRREF execperfstattest.eref
74-
FIXTURES_REQUIRED root-tree-cache-dict-fixture)
67+
FIXTURES_REQUIRED root-io-event-libTestIoEvent-fixture)

0 commit comments

Comments
 (0)