Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Moore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
Moore
Commits
285b5bce
Commit
285b5bce
authored
2 years ago
by
Dorothea Vom Bruch
Committed by
Rosen Matev
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add test for Allen called from lbexec
parent
24a140a9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1821
Add test for Allen called from lbexec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Hlt/Moore/python/Moore/production.py
+5
-4
5 additions, 4 deletions
Hlt/Moore/python/Moore/production.py
Hlt/Moore/tests/qmtest/test_lbexec_allen_hlt1.qmt
+28
-0
28 additions, 0 deletions
Hlt/Moore/tests/qmtest/test_lbexec_allen_hlt1.qmt
with
33 additions
and
4 deletions
Hlt/Moore/python/Moore/production.py
+
5
−
4
View file @
285b5bce
...
...
@@ -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
)
This diff is collapsed.
Click to expand it.
Hlt/Moore/tests/qmtest/test_lbexec_allen_hlt1.qmt
0 → 100644
+
28
−
0
View file @
285b5bce
<?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>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment