Skip to content
Snippets Groups Projects

Skeleton of the new configuration for the Upgrade

Merged Davide Fazzini requested to merge DVNewConfig into master
Compare and Show latest version
3 files
+ 119
15
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -24,18 +24,10 @@
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="args"><set><text>DaVinci.ConfigurationUpgrade:mc</text></set></argument>
<argument name="reference"><text>$DAVINCITESTSROOT/tests/refs/test_initialise_upgrade</text></argument>
<argument name="error_reference"><text>$DAVINCITESTSROOT/tests/refs/empty.ref</text></argument>
<argument name="validator"><text>
refFileName = "$DAVINCITESTSROOT/tests/refs/test_davinci_initialise_upgrade.ref"
if not os.path.exists(os.path.expandvars(refFileName)):
causes.append('Reference file not found!')
else:
refFile = open(os.path.expandvars(refFileName), "r")
for line in refFile:
if not stdout.find(line):
_, name = line.split("INFO ")
causes.append("Algorithm %s not run in the job!" %name)
countErrorLines({"FATAL":0, "ERROR":0})
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
</text></argument>
</extension>
Loading