Skip to content
Snippets Groups Projects
Commit f52adabf authored by Mark Stockton's avatar Mark Stockton
Browse files

Add comparison to legacy counts (and adjust MaxEvents)

parent b031712b
No related branches found
No related tags found
No related merge requests found
Pipeline #6393238 passed
...@@ -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())
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