Skip to content

Commit 9d29623

Browse files
committed
[io] Do not run prefetching tests if xrootd is not available
1 parent 2287d22 commit 9d29623

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

root/io/prefetching/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
# define a CTest test that calls 'make' in ${CMAKE_CURRENT_SOURCE_DIR}
55
#
66
#-------------------------------------------------------------------------------
7-
ROOTTEST_ADD_OLDTEST(LABELS longtest)
7+
if(xrootd)
8+
ROOTTEST_ADD_OLDTEST(LABELS longtest)
9+
endif()

0 commit comments

Comments
 (0)