Skip to content
Snippets Groups Projects
Commit c32e889b authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Update test reference files

parent df1a970b
No related branches found
No related tags found
1 merge request!1412Use MessageSvc to handle ROOT messages
Pipeline #5025239 passed
<?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'>
<!--
(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations
(c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations
This software is distributed under the terms of the Apache version 2 licence,
copied verbatim in the file "LICENSE".
......@@ -14,10 +14,9 @@
<argument name="args"><set><text>-b</text></set></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="reference"><text>refs/Aida2RootEx.ref</text></argument>
<argument name="error_reference"><text>refs/Aida2RootEx.err.ref</text></argument>
<argument name="validator"><text>
preprocessor = (normalizeExamples +
LineSkipper(regexps = [r'Info in &lt;TCanvas::Print&gt;: png file .* has been created']))
LineSkipper(regexps = [r'INFO png file .* has been created']))
validateWithReference(preproc = preprocessor)
</text></argument>
......
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<!--
(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations
(c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations
This software is distributed under the terms of the Apache version 2 licence,
copied verbatim in the file "LICENSE".
......@@ -61,7 +61,6 @@ preprocessor = normalizeExamples + \
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>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="prerequisites"><set>
<tuple><text>gaudiexamples.root_io.write</text><enumeral>PASS</enumeral></tuple>
......
<?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'>
<!--
(c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations
(c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations
This software is distributed under the terms of the Apache version 2 licence,
copied verbatim in the file "LICENSE".
......@@ -24,14 +24,11 @@ EventSelector(Input = ["DATAFILE='PFN:none.dst' SVC='Gaudi::RootEvtSelector' OP
app = ApplicationMgr(TopAlg = [sla(EventCount = 3, Mode = "failure")],
EvtMax = 5)
</text></argument>
<argument name="exit_code"><integer>2</integer></argument>
<argument name="validator"><text>
preprocessor = normalizeExamples + \
RegexpReplacer(when = "TFile::TFile",
orig = r"file (.*)none.dst does not exist",
repl = r"file .../none.dst does not exist")
validateWithReference(preproc = preprocessor)
expected = "/none.dst does not exist"
if not expected in stdout:
causes.append("missing signature")
result["GaudiTest.expected_line"] = result.Quote(expected)
</text></argument>
<argument name="error_reference"><text>refs/return_codes/input_file.err.ref</text></argument>
<argument name="exit_code"><integer>2</integer></argument>
</extension>
......@@ -256,6 +256,18 @@ Aida2RootEx2 INFO AIDA object: 'HistoEx2/ x vs y+3x (profile)'
TH1.Print Name = x vs y+3x (profile), Entries= 5000, Total sum= -2.1759
Aida2RootEx2 INFO AIDA object: 'HistoEx2/ x vs y-3x (profile)'
TH1.Print Name = x vs y-3x (profile), Entries= 5000, Total sum= -2.24644
TCanvas::Print INFO png file HistoEx__1D_histo_.png has been created
TCanvas::Print INFO png file HistoEx__2D_histo_.png has been created
TCanvas::Print INFO png file HistoEx__3D_histo_.png has been created
TCanvas::Print INFO png file HistoEx1__1D_histo_.png has been created
TCanvas::Print INFO png file HistoEx1__2D_histo_.png has been created
TCanvas::Print INFO png file HistoEx1__3D_histo_.png has been created
TCanvas::Print INFO png file HistoEx2__x_vs_y____.png has been created
TCanvas::Print INFO png file HistoEx2__x_vs_y+3x_.png has been created
TCanvas::Print INFO png file HistoEx2__x_vs_y-3x_.png has been created
TCanvas::Print INFO png file HistoEx2__x_vs_y____(profile).png has been created
TCanvas::Print INFO png file HistoEx2__x_vs_y+3x_(profile).png has been created
TCanvas::Print INFO png file HistoEx2__x_vs_y-3x_(profile).png has been created
The file name is 'HistoEx__1D_histo_.png'
The file name is 'HistoEx__2D_histo_.png'
The file name is 'HistoEx__3D_histo_.png'
......
Error in <TFile::TFile>: file dummy.dst does not exist
......@@ -59,6 +59,7 @@ EventSelector.D... DEBUG Selection root:/Event CLID:110
EventSelector INFO Stream:EventSelector.DataStreamTool_1 Def:DATAFILE='LFN:input.dst' SVC='Gaudi::RootEvtSelector' OPT='READ'
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr INFO Application Manager Started successfully
TFile::TFile ERROR file .../dummy.dst does not exist
IODataManager ERROR Error: connectDataIO> Cannot connect to database: PFN=dummy.dst FID=8BE41ECA-4004-11ED-8ECA-54AB3A714084
IODataManager WARNING Attempt to connect dsn:8BE41ECA-4004-11ED-8ECA-54AB3A714084 with next entry in data federation:ROOTIO.dst.
FileRecordPersi... INFO Added successfully Conversion service:RootCnvSvc
......
Error in <TFile::TFile>: file none.dst does not exist
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment