Skip to content

Commit c9aa75f

Browse files
committed
[roottest] use cmake for io/prefetching test
Build dictionary for all classes at once - no need for separate linkdefs Make more unique name for library Use fixtures Mark as longtest
1 parent 39243cf commit c9aa75f

File tree

6 files changed

+24
-411
lines changed

6 files changed

+24
-411
lines changed

roottest/root/io/prefetching/.rootrc

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
#-------------------------------------------------------------------------------
2-
#
3-
# Placeholder file to translate the tests to the new CTest system. Meanwhile we
4-
# define a CTest test that calls 'make' in ${CMAKE_CURRENT_SOURCE_DIR}
5-
#
6-
#-------------------------------------------------------------------------------
71
if(xrootd)
8-
ROOTTEST_ADD_OLDTEST(LABELS longtest)
2+
ROOTTEST_GENERATE_DICTIONARY(libRoottestIoPrefetching
3+
atlasFlushed/atlasFlushedProjectHeaders.h
4+
LINKDEF atlasFlushed/atlasFlushedLinkDef.h
5+
SOURCES atlasFlushed/atlasFlushedProjectSource.cxx
6+
NO_CXXMODULE NO_ROOTMAP
7+
FIXTURES_SETUP root-io-prefetching-dict-fixture)
8+
ROOTTEST_ADD_TEST(run
9+
MACRO runPrefetchReading.C+
10+
OUTREF PrefetchReading.ref
11+
LABELS longtest
12+
FIXTURES_REQUIRED root-io-prefetching-dict-fixture)
913
endif()

roottest/root/io/prefetching/Makefile

Lines changed: 0 additions & 112 deletions
This file was deleted.

roottest/root/io/prefetching/atlasFlushed/atlasFlushedLinkDef1.h

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)