Skip to content

Commit

Permalink
Add test using signal DDCore handler
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusFrankATcernch authored and andresailer committed Oct 21, 2024
1 parent bb6f546 commit b2b2d48
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/ClientTests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b2b2d48

Please sign in to comment.