From 5dec4cb0f1ee688a079ca639bfd703ec6a7a9868 Mon Sep 17 00:00:00 2001
From: Andre Sailer <andre.philippe.sailer@cern.ch>
Date: Wed, 26 Apr 2023 13:04:05 +0200
Subject: [PATCH] DDTEst: ddsim test, do not fail for G4Exception warning

---
 DDTest/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DDTest/CMakeLists.txt b/DDTest/CMakeLists.txt
index 9f6de1bf8..33de5c6ff 100644
--- a/DDTest/CMakeLists.txt
+++ b/DDTest/CMakeLists.txt
@@ -101,7 +101,7 @@ if (DD4HEP_USE_GEANT4)
       ddsim --compactFile=${CMAKE_INSTALL_PREFIX}/DDDetectors/compact/SiD.xml --runType=batch -G -N=2
       --outputFile=testSid${OUTPUT_FILE}
       --gun.position \"0.0 0.0 1.0*cm\" --gun.direction \"1.0 0.0 1.0\" --gun.momentumMax 100*GeV --part.userParticleHandler=)
-    SET_TESTS_PROPERTIES( t_test_ddsim_${OUTPUT_FILE} PROPERTIES FAIL_REGULAR_EXPRESSION  "Exception;EXCEPTION;ERROR;Error" )
+    SET_TESTS_PROPERTIES( t_test_ddsim_${OUTPUT_FILE} PROPERTIES FAIL_REGULAR_EXPRESSION  " Exception; EXCEPTION;ERROR;Error" )
   endforeach()
 
 endif()
-- 
GitLab