Skip to content

Commit 7cf5097

Browse files
committed
Do not run the multithreaded Geant4 tests on macOS
1 parent 030e952 commit 7cf5097

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎run/CMakeLists.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ set_tests_properties(o2sim_G4
230230
G4)
231231
set_property(TEST o2sim_G4 APPEND PROPERTY ENVIRONMENT ${G4ENV})
232232

233-
# multithreaded Geant4 must give the same output for 1 and 2 transport threads
234-
if(Geant4_multithreaded_FOUND)
233+
# multithreaded Geant4 must give the same output for 1 and 2 transport threads (not run on macOS)
234+
if(Geant4_multithreaded_FOUND AND NOT APPLE)
235235
o2_add_test_command(NAME o2sim_G4_mt_equality
236236
WORKING_DIRECTORY ${SIMTESTDIR}
237237
TIMEOUT 600

0 commit comments

Comments
 (0)