Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Detectors/TPC/base/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,16 @@ o2_add_test(Base
SOURCES test/testTPCBase.cxx
LABELS tpc)

o2_add_test(CalDet
if(BUILD_SIMULATION)
# this test needs CCDB/XROOTD which is for sure
# available in the default-o2 software stack
o2_add_test(CalDet
COMPONENT_NAME tpc
PUBLIC_LINK_LIBRARIES O2::TPCBase
SOURCES test/testTPCCalDet.cxx
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
LABELS tpc)
endif()

o2_add_test(Mapper
COMPONENT_NAME tpc
Expand Down