Skip to content

Commit c9c2f3b

Browse files
sawenzeldavidrohr
authored andcommitted
Disable testMatBudLUT on APPLE
because this test is using Geant3 ... which currently has problems on MacOS
1 parent 517cb02 commit c9c2f3b

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

Detectors/Base/CMakeLists.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,16 @@ o2_target_root_dictionary(DetectorsBase
6060
include/DetectorsBase/SimFieldUtils.h)
6161

6262
if(BUILD_SIMULATION)
63-
o2_add_test(
64-
MatBudLUT
65-
SOURCES test/testMatBudLUT.cxx
66-
COMPONENT_NAME DetectorsBase
67-
PUBLIC_LINK_LIBRARIES O2::DetectorsBase O2::ITSMFTReconstruction
68-
LABELS detectorsbase
69-
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
63+
if (NOT APPLE)
64+
o2_add_test(
65+
MatBudLUT
66+
SOURCES test/testMatBudLUT.cxx
67+
COMPONENT_NAME DetectorsBase
68+
PUBLIC_LINK_LIBRARIES O2::DetectorsBase O2::ITSMFTReconstruction
69+
LABELS detectorsbase
70+
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
7071
VMCWORKDIR=${CMAKE_BINARY_DIR}/stage/${CMAKE_INSTALL_DATADIR})
72+
endif()
7173

7274
o2_add_test(
7375
MCStack

run/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ o2_add_test(CheckStackG4
230230
set_tests_properties(o2sim_checksimkinematics_G4
231231
PROPERTIES FIXTURES_REQUIRED G4)
232232

233-
# GEANT3 simulation fails on Macs and it's barely used any more, so disable it.
233+
# GEANT3 simulation fails on Macs, so disable it.
234234
if(NOT APPLE)
235235
o2_add_test_command(NAME o2sim_G3
236236
WORKING_DIRECTORY ${SIMTESTDIR}

0 commit comments

Comments
 (0)