Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 17 additions & 0 deletions run/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,23 @@ o2_add_executable(geometry-doctor
PUBLIC_LINK_LIBRARIES O2::Field O2::DetectorsBase ROOT::Geom
Boost::program_options
nlohmann_json::nlohmann_json)
o2_name_target(geometry-doctor COMPONENT_NAME sim NAME doctorExe IS_EXE)

# Runs the doctor on small geometries with a shared assembly placed twice.
set(DOCTORTESTDIR ${CMAKE_BINARY_DIR}/geometry_doctor_tests)
file(MAKE_DIRECTORY ${DOCTORTESTDIR})
o2_add_test(GeometryDoctorPlacements
COMPONENT_NAME sim
SOURCES testGeometryDoctorPlacements.cxx
PUBLIC_LINK_LIBRARIES ROOT::Geom nlohmann_json::nlohmann_json
WORKING_DIRECTORY ${DOCTORTESTDIR}
COMMAND_LINE_ARGS $<TARGET_FILE:${doctorExe}>
NO_BOOST_TEST
TARGETVARNAME doctorTest
LABELS sim)
if(doctorTest)
add_dependencies(${doctorTest} ${doctorExe})
endif()

o2_add_executable(mctracks-proxy
COMPONENT_NAME sim
Expand Down
Loading