gaudirun.py
from Gaudi.Configuration import *
from Configurables import PPSLHCb
importOptions("Common.opts")
ParticlePropertySvc( ParticlePropertiesFile = "../data/ParticleTable.txt" )
ApplicationMgr( EvtMax = 1,
EvtSel = 'NONE',
TopAlg = [PPSLHCb()] )
expected = "Opened particle properties file : ../data/ParticleTable.txt"
if not expected in stdout:
causes.append("missing signature")
result["GaudiTest.expected_line"] = result.Quote(expected)
if 'ERROR' in stdout or 'FATAL' in stdout:
causes.append("error")