run-autopkgtest: add --bulk option to direct ubuntu jobs to the huge queue

Signed-off-by: Andy Whitcroft <apw@canonical.com>
sru-regression-messages
Andy Whitcroft 8 years ago
parent 5136a3efb5
commit 4af147c787

@ -58,6 +58,8 @@ def parse_args():
'Otherwise this has the same behaviour as test-git.') 'Otherwise this has the same behaviour as test-git.')
parser.add_argument('--all-proposed', action='store_true', parser.add_argument('--all-proposed', action='store_true',
help='Disable apt pinning and use all of -proposed') help='Disable apt pinning and use all of -proposed')
parser.add_argument('--bulk', action='store_true',
help='Mark this as a bulk (low priority) test')
parser.add_argument('package', nargs='+', parser.add_argument('package', nargs='+',
help='Source package name(s) whose tests to run.') help='Source package name(s) whose tests to run.')
args = parser.parse_args() args = parser.parse_args()
@ -108,6 +110,8 @@ if __name__ == '__main__':
context = '' context = ''
params = {} params = {}
if args.bulk:
context = 'huge-'
if args.trigger: if args.trigger:
params['triggers'] = args.trigger params['triggers'] = args.trigger
if args.ppa: if args.ppa:

Loading…
Cancel
Save