Skip to content

Commit

Permalink
removed ConfDB queries from HLT-Validation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
missirol committed Nov 13, 2022
1 parent db9860e commit 6733bdc
Show file tree
Hide file tree
Showing 7 changed files with 300 additions and 191 deletions.
13 changes: 8 additions & 5 deletions HLTrigger/Configuration/scripts/hltCheckPrescaleModules
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#! /usr/bin/env python3

from __future__ import print_function
#!/usr/bin/env python3
import sys
import types
import re
Expand All @@ -17,7 +15,12 @@ if len(sys.argv) != 2:
sys.exit(1)

# whitelist paths exempt from validation
whitelist = ('HLTriggerFirstPath', 'HLTriggerFinalPath')
whitelist = [
'HLTriggerFirstPath',
'HLTriggerFinalPath',
'Status_OnCPU',
'Status_OnGPU',
]

# load the menu and get the "process" object
menu = types.ModuleType('menu')
Expand All @@ -28,7 +31,7 @@ process = menu.process
# get all paths
paths = process.paths_()

# keep track of precaler names, and of duplicates
# keep track of prescaler names, and of duplicates
prescalerNames = set()
duplicateNames = set()

Expand Down
Loading

0 comments on commit 6733bdc

Please sign in to comment.