diff --git a/examples/ClientTests/CMakeLists.txt b/examples/ClientTests/CMakeLists.txt index a32a0cc97..a6b208cda 100644 --- a/examples/ClientTests/CMakeLists.txt +++ b/examples/ClientTests/CMakeLists.txt @@ -469,6 +469,15 @@ dd4hep_add_test_reg( box_shape_build_type REGEX_FAIL "Exception;EXCEPTION;ERROR" ) # +# Test interrupt handling in the middle of the geometry construction +dd4hep_add_test_reg( ClientTests_interrupt_geometry_construction + COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_ClientTests.sh" + EXEC_ARGS geoDisplay -compact ${ClientTestsEx_INSTALL}/compact/InterruptTrigger.xml + -load -print INFO + REGEX_PASS "\\+\\+\\+ Caught signal: 2 context: 0xfeedbabe. exit process." + REGEX_FAIL "Exception;EXCEPTION;ERROR" +) +# # EXEC_ARGS test_with_root.sh ${script} # if (DD4HEP_USE_GEANT4)