From f32e5ddad8886cdc58081c42b84451b9ff802e05 Mon Sep 17 00:00:00 2001 From: Patrick Koppenburg <patrick.koppenburg@cern.ch> Date: Tue, 17 Jan 2023 14:08:47 +0100 Subject: [PATCH] Add a protection against Geant info in stderr --- .../python/DaVinciTests/QMTest/DaVinciExclusions.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py b/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py index a35ba192b..062f7f133 100755 --- a/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py +++ b/DaVinciTests/python/DaVinciTests/QMTest/DaVinciExclusions.py @@ -1,5 +1,5 @@ ############################################################################### -# (c) Copyright 2000-2021 CERN for the benefit of the LHCb Collaboration # +# (c) Copyright 2000-2023 CERN for the benefit of the LHCb Collaboration # # # # This software is distributed under the terms of the GNU General Public # # Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING". # @@ -72,5 +72,9 @@ remove_known_fluctuating_counters = LineSkipper(regexps=[ r' \| "Size of compressed data" .*' ]) -preprocessor = RecPreprocessor + remove_uninteresting_lines + remove_known_warnings +# appears in stderr +remove_known_errors = LineSkipper(strings=[ + 'Info in <TGeoManager>: Changing system of units to Geant4 units (mm, ns, MeV).' +]) +preprocessor = RecPreprocessor + remove_uninteresting_lines + remove_known_warnings + remove_known_errors counter_preprocessor = remove_known_fluctuating_counters -- GitLab