Skip to content
Snippets Groups Projects
Commit 2a516787 authored by Michal Mazurek's avatar Michal Mazurek
Browse files

Remove failing test ddg4_vp_ana.qmt and place it in a separate MR

parent 51fef2b7
No related branches found
No related tags found
2 merge requests!1000Merge Gauss-on-Gaussino to master,!725[Futurev4] Add a test for running Gauss with DD4hep geometry and fix problems
Pipeline #3366528 passed with stage
in 19 seconds
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 2021 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".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!--
Analyse the ROOT output of a DDG4 script.
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="prerequisites"><set>
<tuple><text>ddg4_vp</text><enumeral>PASS</enumeral></tuple>
</set></argument>
<argument name="program"><text>root</text></argument>
<argument name="args"><set>
<text>-b</text>
<text>-q</text>
<text>$DETECTOR_PROJECT_ROOT/examples/VP_ana_ddg4.C("ddg4_vp.root", "ddg4_vp_histos.root")</text>
</set></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="validator"><text>
import subprocess
try:
output = subprocess.check_output(["rootls", "-t", "ddg4_vp_histos.root:*"], text=True)
except subprocess.CalledProcessError:
causes.append("failed to list histogram output file")
result["output.summary"] = result.Quote(output)
if not (len(output.splitlines()) >= 50):
causes.append('output.summary is too short')
</text></argument>
</extension>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment