From 57be1e49dfcce4ea1522700eae5dde87b1aae422 Mon Sep 17 00:00:00 2001
From: Ole Hansen <ole@jlab.org>
Date: Thu, 12 Nov 2020 23:12:40 -0500
Subject: [PATCH] Fix t_CLICSiD_DDG4_g4geometry_scan_LONGTEST regex (always
 matched)

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

diff --git a/examples/CLICSiD/CMakeLists.txt b/examples/CLICSiD/CMakeLists.txt
index 9c8a1050c..3408dff94 100644
--- a/examples/CLICSiD/CMakeLists.txt
+++ b/examples/CLICSiD/CMakeLists.txt
@@ -160,7 +160,7 @@ if (DD4HEP_USE_GEANT4)
     COMMAND    "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh"
     EXEC_ARGS  python ${DD4hep_ROOT}/bin/g4GeometryScan --compact=${DD4hep_ROOT}/DDDetectors/compact/SiD.xml
                       "--position=0,0,0" "--direction=0,1,0"
-    REGEX_PASS "|   856     2374.8789   3000.000     (   0.00,3000.00,   0.00)  Path:\"/world\" Shape:G4Box  Mat:Air" )
+    REGEX_PASS " +856 +2374\.8789 +3000\.000 +. +0\.00,3000\.00, *0\.00. +Path:\"/world\" +Shape:G4Box +Mat:Air" )
   #
   # Geant4 simulations with initialization using AClick and XMl
   foreach(script CLICSiDXML CLICSiDAClick)
-- 
GitLab