Skip to content
Snippets Groups Projects

Adapt tests to a change in TFile "file not found" error message

Merged Marco Clemencic requested to merge adapt-to-change-in-root-error-message into master
3 files
+ 17
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -51,6 +51,14 @@ FileCatalog(Catalogs = [ "xmlcatalog_file:GAUDI-971.xml" ])
esel = EventSelector()
esel.Input = ["DATAFILE='LFN:input.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'"]
</text></argument>
<argument name="validator"><text>
preprocessor = normalizeExamples + \
RegexpReplacer(when = "TFile::TFile",
orig = r"file (.*)dummy.dst does not exist",
repl = r"file .../dummy.dst does not exist")
validateWithReference(preproc = preprocessor)
</text></argument>
<argument name="reference"><text>refs/jira/gaudi_971.ref</text></argument>
<argument name="error_reference"><text>refs/jira/gaudi_971.err.ref</text></argument>
Loading