Skip to content
Snippets Groups Projects
Commit 346f7461 authored by Davide Fazzini's avatar Davide Fazzini
Browse files

remove temporarily unused tests

parent b52ef57c
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!405DV tests update
Pipeline #1780911 passed
<?xml version="1.0" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"> <text>gaudirun.py</text></argument>
<argument name="args"><set>
<text>../options/DV_MCuDST.py</text>
</set></argument>
<argument name="validator"><text>
findReferenceBlock("""
TruePhi SUCCESS Number of counters : 5
| Counter | # | sum | mean/eff^* | rms/err^* | min | max |
| "# Phys/Phi" | 902 | 1112 | 1.2328 | 0.87659 | 1.0000 | 15.000 |
| "# input particles" | 902 | 1112 | 1.2328 | 0.87659 | 1.0000 | 15.000 |
|*"#accept" | 902 | 774 |( 85.80931 +- 1.161892)% |
| "#passed" | 902 | 797 | 0.88359 | 0.39506 | 0.0000 | 3.0000 |
|*"efficiency" | 1112 | 797 |( 71.67266 +- 1.351224)%| ------- | ------- |
""")
</text></argument>
</extension>
<?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 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!--
#######################################################
# SUMMARY OF THIS TEST
# ...................
# Author: rlambert
# Purpose: To record which FSRs are there before merging
# Prerequisites: This is a full test suite, and this test provides input for later.
# Common failure modes, severities and cures:
# . SEVERE: Segfault or raised exception, stderr, nonzero return code
# . MAJOR: additional FATAL/ERROR messages always a major problem. no ERROR messages should ever be printed when running this test.
# . MINOR: additional FSRs in the input files, probably indicates the input files have been replaced by something else.
#######################################################
-->
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="args"><set>
<text>$DAVINCIROOT/options/DaVinci-Default.py</text>
<text>$DAVINCITESTSROOT/tests/options/fsrs/davinci-dumpfsrs.py</text>
<text>--option</text>
<text>from Configurables import DaVinci; from PRConfig import TestFileDB; TestFileDB.test_file_db["brunel-v37r3-fsrs-md"].run(configurable=DaVinci()); TestFileDB.test_file_db["brunel-v37r3-fsrs-mu"].run(configurable=DaVinci()); </text>
</set></argument>
<argument name="timeout"><integer>3000</integer></argument>
<argument name="use_temp_dir"><enumeral>true</enumeral></argument>
<argument name="validator"><text>
#print stdout
import os
f=open(os.path.expandvars('$DAVINCITESTSROOT/tests/refs/test-FSRs.ref'),'r')
reflines=f.readlines()
reflines=[r.strip() for r in reflines]
stdlines=stdout
#print reflines, 'test'
if '\n' in stdout:
stdlines=stdout.split('\n')
foundlines=[line.strip() for line in stdlines if ('DumpFSR' in line and '/FileRecords' in line and '-' in line)]
#print foundlines
######## Check for consistency #############
if foundlines!=reflines:
t=open(os.path.expandvars('$DAVINCITESTSROOT/tests/refs/test-FSRs.ref.new'),'w')
t.write('\n'.join(foundlines))
t.close()
f.close()
causes.append('unexpected FSRs')
result['fsrs.davinci-dumpfsrs-tofile']=result.Quote('\n'.join(['+'+line for line in foundlines if line not in reflines]+['-'+line for line in reflines if line not in foundlines]))
f.close()
</text></argument>
</extension>
<?xml version="1.0" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="args"><set>
<text>-T</text>
<text>$DAVINCITESTSROOT/tests/options/Packing/DaVinci-uDSTUnpacking-Stripping20-Test.py</text>
<text>$PRCONFIGOPTS/DaVinci/Stripping/Collision12-4TeV-Reco14-Stripping20-BHADRON.MDST.py</text>
<text>$DAVINCITESTSROOT/tests/options/EnableFPEAuditor.py</text>
</set></argument>
<argument name="reference"><text>../refs/test_udstunpacking_stripping20.ref</text></argument>
<argument name="validator"><text>
countErrorLines({"FATAL":0, "WARNING":0, "ERROR":0})
</text></argument>
</extension>
<?xml version="1.0" ?>
<!--
(c) Copyright 2000-2018 CERN for the benefit of the LHCb Collaboration
This software is distributed under the terms of the GNU General Public
Licence version 3 (GPL Version 3), copied verbatim in the file "COPYING".
In applying this licence, CERN does not waive the privileges and immunities
granted to it by virtue of its status as an Intergovernmental Organization
or submit itself to any jurisdiction.
-->
<!DOCTYPE extension PUBLIC '-//QM/2.3/Extension//EN' 'http://www.codesourcery.com/qm/dtds/2.3/-//qm/2.3/extension//en.dtd'>
<extension class="GaudiTest.GaudiExeTest" kind="test">
<argument name="program"><text>gaudirun.py</text></argument>
<argument name="args"><set>
<text>-T</text>
<text>$DAVINCITESTSROOT/tests/options/PID/DaVinci-uDST-ANNPID-Stripping20-Test.py</text>
<text>$PRCONFIGOPTS/DaVinci/Stripping/Collision12-4TeV-Reco14-Stripping20-BHADRON.MDST.py</text>
<text>$DAVINCITESTSROOT/tests/options/EnableFPEAuditor.py</text>
</set></argument>
<argument name="reference"><text>../refs/test_udstannpid_stripping20.ref</text></argument>
<argument name="validator"><text>
countErrorLines({"FATAL":0, "WARNING":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