Skip to content
Snippets Groups Projects
Commit 285b5bce authored by Dorothea Vom Bruch's avatar Dorothea Vom Bruch Committed by Rosen Matev
Browse files

Add test for Allen called from lbexec

parent 24a140a9
No related branches found
No related tags found
1 merge request!1821Add test for Allen called from lbexec
......@@ -8,9 +8,10 @@
# granted to it by virtue of its status as an Intergovernmental Organization #
# or submit itself to any jurisdiction. #
###############################################################################
from Moore import run_allen, Options
from RecoConf.hlt1_allen import allen_gaudi_node
from Moore import run_allen
def allen_hlt1_production(options):
return run_allen(options)
def allen_hlt1_production(options: Options):
with allen_gaudi_node.bind(sequence="hlt1_pp_default"):
return run_allen(options)
<?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 2022 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.
-->
<!--
Check that Allen can be called from lb-exec successfully
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>lbexec</text></argument>
<argument name="args"><set>
<text>Moore.production:allen_hlt1_production</text>
<text>$HLT1CONFROOT/options/allen_hlt1_production_options.yaml</text>
</set></argument>
<argument name="validator"><text>
from Moore.qmtest.exclusions import remove_known_warnings
countErrorLines({"FATAL": 0, "ERROR": 0, "WARNING": 0},
stdout=remove_known_warnings(stdout))
</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