Skip to content

Commit

Permalink
Merge pull request cms-sw#34722 from srimanob/121_allowmultiplecomman…
Browse files Browse the repository at this point in the history
…dsmatrix

Allow multiple "--command" in runTheMatrix
  • Loading branch information
cmsbuild authored Aug 5, 2021
2 parents 2443931 + 072fcb3 commit 2508ef2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Configuration/PyReleaseValidation/scripts/runTheMatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def runSelected(opt):
parser.add_option('--command',
help='provide a way to add additional command to all of the cmsDriver commands in the matrix',
dest='command',
action='append',
default=None
)
parser.add_option('--apply',
Expand Down Expand Up @@ -305,6 +306,7 @@ def runSelected(opt):
action='store')

opt,args = parser.parse_args()
if opt.command: opt.command = ' '.join(opt.command)
os.environ["CMSSW_DAS_QUERY_SITES"]=opt.dasSites
if opt.IBEos:
try:from commands import getstatusoutput as run_cmd
Expand Down

0 comments on commit 2508ef2

Please sign in to comment.