Skip to content
Snippets Groups Projects
Commit 76be1bfc authored by Aniol Lobo Salvia's avatar Aniol Lobo Salvia
Browse files

add test for calo

parent 7a86c15e
No related branches found
No related tags found
1 merge request!249add test for calo
Pipeline #5663426 passed
<?xml version="1.0" ?><!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.
-->
<!--
Run the Calo monitoring task in the Online testbench
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>$MOORESCRIPTSROOT/scripts/testbench.py</text></argument>
<argument name="args"><set>
<text>$MOORESCRIPTSROOT/tests/options/CaloMon/Arch.xml</text>
<text>--working-dir=calomon</text>
<text>--partition=TESTCALO</text>
<text>--test-file-db-key=2022_raw_hlt1_253597</text>
</set></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="validator"><text>
# No validator for now: only check the exit code
import glob
workdir = self._common_tmpdir
for fn in glob.glob(workdir + "/calomon/*.*"):
result[os.path.basename(fn)] = open(fn).read()
</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