Skip to content
Snippets Groups Projects
Commit 43dc25a7 authored by Mark Stockton's avatar Mark Stockton Committed by Vakhtang Tsulaia
Browse files

NewJO tests - add CA count comparison to dev and add PhysP1 test

NewJO tests - add CA count comparison to dev and add PhysP1 test
parent ce20e9a5
No related branches found
No related tags found
1 merge request!66755NewJO tests - add CA count comparison to dev and add PhysP1 test
...@@ -12,6 +12,7 @@ ex = ExecStep.ExecStep() ...@@ -12,6 +12,7 @@ ex = ExecStep.ExecStep()
ex.type = 'athenaHLT' ex.type = 'athenaHLT'
ex.job_options = 'TriggerJobOpts.runHLT' ex.job_options = 'TriggerJobOpts.runHLT'
ex.input = 'data' ex.input = 'data'
ex.max_events = 50
ex.flags = ['Trigger.triggerMenuSetup="Dev_pp_run3_v1_TriggerValidation_prescale"', ex.flags = ['Trigger.triggerMenuSetup="Dev_pp_run3_v1_TriggerValidation_prescale"',
'Trigger.doLVL1=True'] 'Trigger.doLVL1=True']
...@@ -20,5 +21,14 @@ test.art_type = 'build' ...@@ -20,5 +21,14 @@ test.art_type = 'build'
test.exec_steps = [ex] test.exec_steps = [ex]
test.check_steps = CheckSteps.default_check_steps(test) test.check_steps = CheckSteps.default_check_steps(test)
# Add a step comparing counts against legacy reference (from test_trigP1_v1Dev_decodeBS_build)
chaindump = test.get_step("ChainDump")
chaindump.args = '--json --yaml ref_v1Dev_decodeBS_build.new'
refcomp = CheckSteps.ChainCompStep("CountRefComp")
refcomp.input_file = 'ref_v1Dev_decodeBS_build.new'
refcomp.reference_from_release = True # installed from TrigP1Test/share
refcomp.required = False # Final exit code doesn't depend on this step
CheckSteps.add_step_after_type(test.check_steps, CheckSteps.ChainDumpStep, refcomp)
import sys import sys
sys.exit(test.run()) sys.exit(test.run())
#!/usr/bin/env python
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# art-description: athenaHLT test of the PhysicsP1_pp_run3_v1 menu
# art-type: build
# art-include: main/Athena
# art-include: 23.0/Athena
from TrigValTools.TrigValSteering import Test, ExecStep, CheckSteps
ex = ExecStep.ExecStep()
ex.type = 'athenaHLT'
ex.job_options = 'TriggerJobOpts.runHLT'
ex.input = 'data'
ex.flags = ['Trigger.triggerMenuSetup="PhysicsP1_pp_run3_v1_HLTReprocessing_prescale"',
'Trigger.doLVL1=True']
test = Test.Test()
test.art_type = 'build'
test.exec_steps = [ex]
test.check_steps = CheckSteps.default_check_steps(test)
import sys
sys.exit(test.run())
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