From 04ce7bb99fc74e235c6e9d3966124d7b68c91124 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Fri, 3 Mar 2023 17:06:15 +0100 Subject: [PATCH] Mask Exception error from test ClientTests_sim_UserAnalysis (G4 Warning) --- examples/ClientTests/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/ClientTests/CMakeLists.txt b/examples/ClientTests/CMakeLists.txt index a6cdf1ac6..f3106e70f 100644 --- a/examples/ClientTests/CMakeLists.txt +++ b/examples/ClientTests/CMakeLists.txt @@ -470,11 +470,16 @@ if (DD4HEP_USE_GEANT4) REGEX_FAIL "Exception;EXCEPTION;ERROR;Error" ) # # Test of an example user analysis creating an N-tuple instead of an output file with events + # Note: Exception: *** G4Exception : PART5107 + # issued by : G4IonTable::FindIon() + # Isomer level 9 may be ambiguous. + # *** This is just a warning message. *** + # This is NOT an error! dd4hep_add_test_reg( ClientTests_sim_UserAnalysis COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_ClientTests.sh" EXEC_ARGS ${Python_EXECUTABLE} ${ClientTestsEx_INSTALL}/scripts/MiniTelEnergyDeposits.py batch REGEX_PASS "Entries : 200 " - REGEX_FAIL "Exception;EXCEPTION;ERROR;Error" ) + REGEX_FAIL "EXCEPTION;ERROR;Error" ) # # Test of an example user analysis creating an N-tuple instead of an output file with events dd4hep_add_test_reg( ClientTests_sim_TrackingRegion -- GitLab