diff --git a/Phys/Tesla/tests/options/DV_2015_PVs.py b/Phys/Tesla/tests/options/DV_2015_PVs.py deleted file mode 100644 index a7188bb19281b198d75b455540de7fb9f955e0e4..0000000000000000000000000000000000000000 --- a/Phys/Tesla/tests/options/DV_2015_PVs.py +++ /dev/null @@ -1,60 +0,0 @@ -from Gaudi.Configuration import * -from LHCbKernel.Configuration import * -from Configurables import GaudiSequencer,RawEventJuggler -from Configurables import DaVinci -from Configurables import DecodeRawEvent - -from Configurables import DstConf -DstConf().Turbo=True - -DaVinci() -DaVinci().EvtMax=-1 -DaVinci().DataType="2015" - -from GaudiConf import IOHelper -IOHelper().inputFiles( ["tesla_2015_TCK.dst"] , clear=True ) - -import GaudiPython -from Gaudi.Configuration import ApplicationMgr -from Configurables import LoKiSvc - -from GaudiKernel import ROOT6WorkAroundEnabled -if ROOT6WorkAroundEnabled('ROOT-7492'): - # trigger autoloading of LHCbKernel dictionary - GaudiPython.gbl.LHCb.LHCbID - # trigger autoloading of DigiEvent dictionary - GaudiPython.gbl.LHCb.CaloDigit - -gaudi = GaudiPython.AppMgr() -gaudi.initialize() - -tes = gaudi.evtsvc() - -vertLoc = "Turbo/Primary" - -version='v10r0_0x00fa0051' -from TurboStreamProd.helpers import * -from TurboStreamProd import prodDict -lines = streamLines(prodDict,version,'DiMuon',debug=True) -lines += streamLines(prodDict,version,'Charm',debug=True) -lines += streamLines(prodDict,version,'CharmSpec',debug=True) - -while True: - gaudi.run(1) - # - if not tes['/Event/DAQ/RawEvent']: - print "End of file" - break - # - n=0 - for line in lines: - rep = tes["Hlt2/SelReports"].selReport(line+"Decision") - if rep: - n+=1 - if n==0: - continue - - if not tes[vertLoc]: - print tes["Hlt2/SelReports"] - print "ERROR: PVs have not been created" - break diff --git a/Phys/Tesla/tests/options/TCK_2015RP.py b/Phys/Tesla/tests/options/TCK_2015RP.py deleted file mode 100644 index ccd5273108b799693c104369775b96df65adad13..0000000000000000000000000000000000000000 --- a/Phys/Tesla/tests/options/TCK_2015RP.py +++ /dev/null @@ -1,25 +0,0 @@ -from Configurables import Tesla -Tesla().Pack = True -Tesla().DataType = '2015' -Tesla().Simulation = False -Tesla().Mode = 'Offline' -Tesla().VertRepLoc = 'Hlt2' -Tesla().EvtMax=1000 -Tesla().outputFile = "tesla_2015_TCK.dst" -Tesla().SplitRawEventInput = '0.4' -Tesla().SplitRawEventOutput = '0.4' - -from Gaudi.Configuration import * -version='v10r0_0x00fa0051' -from TurboStreamProd.helpers import * -from TurboStreamProd import prodDict -lines = streamLines(prodDict,version,'DiMuon',debug=True) -lines += streamLines(prodDict,version,'Charm',debug=True) -lines += streamLines(prodDict,version,'CharmSpec',debug=True) - -Tesla().TriggerLines = lines -Tesla().EnableLineChecker = False - -from PRConfig.TestFileDB import test_file_db -input = test_file_db['TeslaTest_TCK_0x022600a2'] -input.run(configurable=Tesla()) diff --git a/Phys/Tesla/tests/qmtest/tesla.qms/default_2015.qmt b/Phys/Tesla/tests/qmtest/tesla.qms/default_2015.qmt deleted file mode 100644 index d94eb9f01a9fb747d69c76c3d198184db697bf8d..0000000000000000000000000000000000000000 --- a/Phys/Tesla/tests/qmtest/tesla.qms/default_2015.qmt +++ /dev/null @@ -1,26 +0,0 @@ -<?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'> -<!-- -####################################################### -# SUMMARY OF THIS TEST -# ................... -# Author: sbenson -# Purpose: Restore from 2015 reprocessing TCK -# Prerequisites: None -# 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 WARNING messages, it is unclear how severe these may be, you will need to hunt down the cause and either fix the problem or suppress the warning. -# . EXPECTED: At the moment this test has a habit of timing out or being killed by some abort signal in finalize, but the output always looks fine. -####################################################### ---> -<extension class="GaudiTest.GaudiExeTest" kind="test"> - <argument name="program"><text>gaudirun.py</text></argument> - <argument name="timeout"><integer>3600</integer></argument> - <argument name="args"><set> - <text>../options/TCK_2015RP.py</text> - </set></argument> - <argument name="validator"><text> -countErrorLines({"FATAL":0, "ERROR":0, "WARNING" :1}) -</text></argument> -</extension> - diff --git a/Phys/Tesla/tests/qmtest/tesla.qms/pvrestore.qmt b/Phys/Tesla/tests/qmtest/tesla.qms/pvrestore.qmt deleted file mode 100644 index 8c168a8b72164f500f6a0beca2a76d52bb4f3300..0000000000000000000000000000000000000000 --- a/Phys/Tesla/tests/qmtest/tesla.qms/pvrestore.qmt +++ /dev/null @@ -1,26 +0,0 @@ -<?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'> -<!-- -####################################################### -# SUMMARY OF THIS TEST -# ................... -# Author: sbenson -# Purpose: Check Tesla restores online PVs correctly -# Prerequisites: None -# 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 WARNING messages, it is unclear how severe these may be, you will need to hunt down the cause and either fix the problem or suppress the warning. -# . EXPECTED: At the moment this test has a habit of timing out or being killed by some abort signal in finalize, but the output always looks fine. -####################################################### ---> -<extension class="GaudiTest.GaudiExeTest" kind="test"> - <argument name="program"><text>python</text></argument> - <argument name="timeout"><integer>3600</integer></argument> - <argument name="args"><set> - <text>../options/DV_2015_PVs.py</text> - </set></argument> - <argument name="validator"><text> -countErrorLines({"FATAL":0, "ERROR":0, "WARNING" :1}) - </text></argument> -</extension> -