Skip to content
Snippets Groups Projects
Commit a4ecf3ac authored by Patrick Koppenburg's avatar Patrick Koppenburg :leaves: Committed by Eduardo Rodrigues
Browse files

Checks for ERROR and FATAL in all tests

parent 2ed53de4
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!617Checks for ERROR and FATAL in all tests
Showing
with 23 additions and 14 deletions
......@@ -23,6 +23,6 @@ PrintHeader INFO Number of counters : 1
| "EventCount" | 7 |
ApplicationMgr INFO Application Manager Stopped successfully
""", stdout, result, causes, signature_offset = 0)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -34,6 +34,9 @@
<text>../../../DaVinciExamples/python/DaVinciExamples/tupling/example-tupling-AllFunctors:alg_config</text>
</set></argument>
<argument name="validator"><text>
findReferenceBlock("""B0DsK_Tuple SUCCESS Booked 1 N-Tuples and 0 Event Tag Collections""")
findReferenceBlock("""B0DsK_Tuple SUCCESS Booked 1 N-Tuples and 0 Event Tag Collections"""
, stdout, result, causes, signature_offset = 0)
countErrorLines({"FATAL":0, "ERROR":0})
<argument name="exit_code"><integer>1</integer></argument>
</text></argument>
</extension>
......@@ -62,5 +62,6 @@ findReferenceBlock("""LAZY_AND: DaVinci
LoKi__HDRFilter/Filter_B0Dspi #=5 Sum=4 Eff=|( 80.00000 +- 17.8885 )%|
FunTupleBase_Particles/Tuple_B0Dspi #=4 Sum=4 Eff=|( 100.0000 +- 0.00000 )%|
""", stdout, result, causes, signature_offset = 0, id = "Stream3")
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -41,6 +41,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -81,5 +81,6 @@ findReferenceBlock("""LAZY_AND: DaVinci
LoKi__HDRFilter/HDRFilter_B0Dspi #=22 Sum=14 Eff=|( 63.63636 +- 10.2559 )%|
FunTupleBase_Particles/B0Dspi_Tuple #=14 Sum=14 Eff=|( 100.0000 +- 0.00000 )%|
""", stdout, result, causes, signature_offset = 0, id = "Stream3")
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -32,6 +32,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -40,6 +40,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -38,6 +38,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -62,5 +62,6 @@ findReferenceBlock("""LAZY_AND: DaVinci
LoKi__HDRFilter/HDRFilter_B0DsK #=5 Sum=5 Eff=|( 100.0000 +- 0.00000 )%|
FunTupleBase_Particles/B0DsK_Tuple #=5 Sum=5 Eff=|( 100.0000 +- 0.00000 )%|
""", stdout, result, causes, signature_offset = 0, id = "Stream3")
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -39,6 +39,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -41,6 +41,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -39,6 +39,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -41,6 +41,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -37,5 +37,6 @@
</set></argument>
<argument name="validator"><text>
findReferenceBlock("""DimuonsTuple SUCCESS ID=DecayTree Title="DecayTree" #items=14 {Jpsi_LOKI_P,Jpsi_LOKI_PT,Jpsi_LOKI_Muonp_PT,Jpsi_LOKI_Muonm_PT,Jpsi_LOKI_MAXPT,Jp}""")
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -40,5 +40,6 @@ DimuonsTuple SUCCESS ID=DecayTree Title="DecayTree"
KsTuple SUCCESS Booked 1 N-Tuples and 0 Event Tag Collections
KsTuple SUCCESS List of booked N-Tuples in directory "FILE1/KsTuple"
KsTuple SUCCESS ID=DecayTree Title="DecayTree" #items=14 {KS_LOKI_MAXPT,KS_LOKI_NTRCKS_ABV_THRSHLD,KS_LOKI_Muonp_PT,KS_LOKI_Muonm_PT,KS_LOK}""")
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -30,5 +30,6 @@ findReferenceBlock("""TightD02KK
| "Input1 size" | 21 | 258 | 12.286 |
| "Input2 size" | 21 | 258 | 12.286 |
""", stdout, result, causes, signature_offset = 0, id = "Stream3")
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -39,6 +39,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -39,6 +39,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -39,6 +39,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
......@@ -39,6 +39,6 @@
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
countErrorLines({"FATAL":0})
countErrorLines({"FATAL":0, "ERROR":0})
</text></argument>
</extension>
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