Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LHCbDIRAC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Anton Lu
LHCbDIRAC
Commits
71df248a
Commit
71df248a
authored
7 years ago
by
Federico Stagni
Browse files
Options
Downloads
Patches
Plain Diff
simple fixes for log and output
parent
ef15cb27
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/Integration/Core/Test_RunApplication.py
+20
-17
20 additions, 17 deletions
tests/Integration/Core/Test_RunApplication.py
with
20 additions
and
17 deletions
tests/Integration/Core/Test_RunApplication.py
+
20
−
17
View file @
71df248a
...
...
@@ -35,7 +35,7 @@ class GaussSuccess( RunApplicationTestCase ):
gLogger
.
always
(
"
\n
***************** Trying out GAUSS
"
)
def
test_Gauss_Production_PR33857_1
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc6-gcc48-opt
'
This is taken from PR 33857 (and would fall back to SetupProject)
"""
...
...
@@ -67,7 +67,7 @@ class GaussSuccess( RunApplicationTestCase ):
def
test_Gauss_User_step133294
(
self
):
"""
Not using ProdConf (users style)
"""
Not using ProdConf (users style)
. systemConfig =
'
x86_64-slc6-gcc48-opt
'
This is taken from PR 33857 (and would fall back to SetupProject)
"""
...
...
@@ -122,7 +122,7 @@ class BooleSuccess( RunApplicationTestCase ):
gLogger
.
always
(
"
\n
***************** Trying out BOOLE
"
)
def
test_Boole_1_Production_PR33857_2
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc6-gcc48-opt
'
This is taken from PR 33857
"""
...
...
@@ -150,7 +150,8 @@ class BooleSuccess( RunApplicationTestCase ):
self
.
assertEqual
(
res
[
'
Value
'
],
(
0
,
''
,
''
))
def
test_Boole_2_Production_PR33857
(
self
):
"""
Same as before but using
"
ANY
"
as CMT config
"""
Using ProdConf (production style). Taken from PR 33857.
Same as before but using
"
ANY
"
as CMT config
"""
gLogger
.
always
(
"
**** Boole v30r1
"
)
...
...
@@ -182,7 +183,7 @@ class MooreSuccess( RunApplicationTestCase ):
gLogger
.
always
(
"
\n
***************** Trying out MOORE
"
)
def
test_Moore_1_Production_PR33857_3
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc6-gcc48-opt
'
This is taken from PR 33857
"""
...
...
@@ -207,7 +208,7 @@ class MooreSuccess( RunApplicationTestCase ):
self
.
assertEqual
(
res
[
'
Value
'
],
(
0
,
''
,
''
))
def
test_Moore_2_Production_PR33857_4
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc5-gcc46-opt
'
This is taken from PR 33857
"""
...
...
@@ -238,7 +239,7 @@ class BrunelSuccess( RunApplicationTestCase ):
gLogger
.
always
(
"
\n
***************** Trying out BRUNEL
"
)
def
test_Brunel_Production_PR33857_5
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc5-gcc46-opt
'
This is taken from PR 33857
"""
...
...
@@ -265,7 +266,7 @@ class BrunelSuccess( RunApplicationTestCase ):
self
.
assertEqual
(
res
[
'
Value
'
],
(
0
,
''
,
''
))
def
test_Brunel_new_gcc62
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc6-gcc62-opt
'
This is taken from step 130998 (Reco17-commissioning)
"""
...
...
@@ -291,7 +292,7 @@ class BrunelSuccess( RunApplicationTestCase ):
def
test_Brunel_new_bestCMT
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
ANY
'
This is taken from step 130998 (Reco17-commissioning)
"""
...
...
@@ -308,8 +309,8 @@ class BrunelSuccess( RunApplicationTestCase ):
]
ra
.
step_Number
=
1
ra
.
prodConfFileName
=
find_all
(
'
test_prodConf_brunel_v52r2.py
'
,
'
..
'
)[
0
]
ra
.
applicationLog
=
'
0brunel_000v52r2_62_log.txt
'
ra
.
stdError
=
'
0brunel_000v52r2_62_err.txt
'
ra
.
applicationLog
=
'
0brunel_000v52r2_
ANY_
62_log.txt
'
ra
.
stdError
=
'
0brunel_000v52r2_
ANY_
62_err.txt
'
res
=
ra
.
run
()
self
.
assertFalse
(
res
[
'
OK
'
])
#This will fail as there's no input file
...
...
@@ -323,7 +324,7 @@ class DaVinciSuccess( RunApplicationTestCase ):
gLogger
.
always
(
"
\n
***************** Trying out DAVINCI
"
)
def
test_DaVinci_1_Production_PR33857_6
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc5-gcc46-opt
'
This is taken from PR 33857
"""
...
...
@@ -352,7 +353,7 @@ class DaVinciSuccess( RunApplicationTestCase ):
def
test_DaVinci_2_Production_PR33857_7
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc6-gcc49-opt
'
This is taken from PR 33857
"""
...
...
@@ -380,7 +381,7 @@ class DaVinciSuccess( RunApplicationTestCase ):
def
test_DaVinci_new_gcc49
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc6-gcc49-opt
'
This is taken from step 130847
"""
...
...
@@ -404,11 +405,12 @@ class DaVinciSuccess( RunApplicationTestCase ):
ra
.
stdError
=
'
0daVinci_000v42r2_49_err.txt
'
res
=
ra
.
run
()
self
.
assertFalse
(
res
[
'
OK
'
])
#This will fail as there's no input file
self
.
assertTrue
(
res
[
'
OK
'
])
self
.
assertEqual
(
res
[
'
Value
'
],
(
0
,
''
,
''
))
def
test_DaVinci_new_gcc62
(
self
):
"""
Using ProdConf (production style)
"""
Using ProdConf (production style)
. systemConfig =
'
x86_64-slc6-gcc62-opt
'
This is taken from step 130847
"""
...
...
@@ -432,7 +434,8 @@ class DaVinciSuccess( RunApplicationTestCase ):
ra
.
stdError
=
'
0daVinci_000v42r2_62_err.txt
'
res
=
ra
.
run
()
self
.
assertFalse
(
res
[
'
OK
'
])
#This will fail as there's no input file
self
.
assertTrue
(
res
[
'
OK
'
])
self
.
assertEqual
(
res
[
'
Value
'
],
(
0
,
''
,
''
))
#############################################################################
...
...
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