gaudirun.py
-v
from Gaudi.Configuration import *
from Configurables import AuditorTestAlg, GaudiExamples__LoggingAuditor as LoggingAuditor
importOptions("Common.opts")
AuditorSvc().Auditors += [ TimingAuditor("TIMER"),
LoggingAuditor("LoggingAuditor") ]
app = ApplicationMgr(TopAlg = [AuditorTestAlg()],
EvtSel = "NONE", EvtMax = 5)
app.ExtSvc += [ ToolSvc(), AuditorSvc() ]
app.AuditAlgorithms = True
MessageSvc().setDebug.append("EventLoopMgr")
import re
if not re.search("TIMER.TIMER *INFO AuditorTestAlg:loop",stdout):
causes.append("missing timing reoprt")
result["GaudiTest.expected"] = result.Quote("timing report for timer 'AuditorTestAlg:loop'")