gaudirun.py -v --dry-run TESTOPTS=test1.opts from Gaudi.Configuration import * importOptions("$TESTOPTS") conf_dict = eval('\n'.join(stdout.splitlines())) expected = {'MessageSvc': {'OutputLevel': 2}, 'myAlg.myTool': {'Bool': True, 'Int': 10}} 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))