bug_45517.qmt 941 Bytes
Newer Older
marcocle's avatar
marcocle committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0" ?><!DOCTYPE extension  PUBLIC '-//QM/2.3/Extension//EN'  'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test">
  <argument name="program"><text>gaudirun.py</text></argument>
  <argument name="args"><set><text>-v</text><text>-n</text></set></argument>
  <argument name="options"><text>
from Gaudi.Configuration import *

importUnits("units.opts")
importOptions("bug_45517.opts")

</text></argument>
<argument name="validator"><text>
conf_dict = eval('\n'.join(stdout.splitlines()))
expected = {'Test': {'Length': 10000}}

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))
</text></argument>
</extension>