Skip to content
Snippets Groups Projects
Commit 71df248a authored by Federico Stagni's avatar Federico Stagni
Browse files

simple fixes for log and output

parent ef15cb27
No related branches found
No related tags found
No related merge requests found
......@@ -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, '', ''))
#############################################################################
......
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