Skip to content

Commit 0ec9c27

Browse files
committed
Exclude TPC CalDet test in dataflow builds
1 parent 687291f commit 0ec9c27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Detectors/TPC/base/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,16 @@ o2_add_test(Base
8080
SOURCES test/testTPCBase.cxx
8181
LABELS tpc)
8282

83-
o2_add_test(CalDet
83+
if(BUILD_SIMULATION)
84+
# this test needs CCDB/XROOTD which is for sure
85+
# available in the default-o2 software stack
86+
o2_add_test(CalDet
8487
COMPONENT_NAME tpc
8588
PUBLIC_LINK_LIBRARIES O2::TPCBase
8689
SOURCES test/testTPCCalDet.cxx
8790
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
8891
LABELS tpc)
92+
endif()
8993

9094
o2_add_test(Mapper
9195
COMPONENT_NAME tpc

0 commit comments

Comments
 (0)