gaudirun.py
-v
-n
--optionMessageSvc().setFatal.append('AnotherAlg')
from Gaudi.Configuration import *
MessageSvc().setDebug.append("AnAlgorithm")
conf_dict = eval('\n'.join(stdout.splitlines()))
expected = {'MessageSvc': {'setDebug': ['AnAlgorithm'], 'setFatal': ['AnotherAlg']}}
if conf_dict != expected:
causes.append("configuration result")
from pprint import PrettyPrinter
pp = PrettyPrinter()
result["GaudiTest.configuration.expected"] = result.Quote(pp.pformat(expected))
result["GaudiTest.configuration.found"] = result.Quote(pp.pformat(conf_dict))