Skip to content
Snippets Groups Projects

Advanced Tupling test: Do not rely on a reference file

Merged Patrick Koppenburg requested to merge pkoppenb-AdvancedTupling into master
All threads resolved!
2 files
+ 9
296
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -33,8 +33,15 @@
<text>--user_algorithms</text>
<text>$DAVINCIEXAMPLESROOT/python/DaVinciExamples/tupling/example-tupling-advanced-run-mc:main</text>
</set></argument>
<argument name="reference"><text>$DAVINCITESTSROOT/tests/refs/test_davinci_tupling_advanced.ref</text></argument>
<argument name="error_reference"><text>$DAVINCITESTSROOT/tests/refs/empty.ref</text></argument>
<argument name="validator"><text>
findReferenceBlock("""DimuonsTuple SUCCESS Booked 1 N-Tuples and 0 Event Tag Collections
DimuonsTuple SUCCESS List of booked N-Tuples in directory "FILE1/DimuonsTuple"
DimuonsTuple SUCCESS ID=DecayTree Title="DecayTree" #items=10 {Jpsi_LOKI_P,Jpsi_LOKI_PT,Jpsi_LOKI_Muonp_PT,Jpsi_LOKI_Muonm_PT,Jpsi_LOKI_MAXPT,Jp}
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=8 {Ks_LOKI_P,Ks_LOKI_PT,Ks_LOKI_Muonp_PT,Ks_LOKI_Muonm_PT,Ks_LOKI_MAXPT,Ks_LOKI_N_HI}
""", stdout, result, causes, signature_offset = 0, id = "Stream3")
</text></argument>
<argument name="validator"><text>
from DaVinciTests.QMTest.DaVinciExclusions import preprocessor
validateWithReference(preproc = preprocessor)
Loading