mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-06-06 15:21:38 +00:00
run-autopkgtest: Add --all-proposed option
This is useful if two packages in -proposed depend on each other for successful testing but don't have versioned dependencies.
This commit is contained in:
parent
c9f7ef6fce
commit
fc7696d26b
@ -57,6 +57,8 @@ def parse_args():
|
|||||||
help='A single URL. '
|
help='A single URL. '
|
||||||
'The test will be checked out with bzr from that URL. '
|
'The test will be checked out with bzr from that URL. '
|
||||||
'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',
|
||||||
|
help='Disable apt pinning and use all of -proposed')
|
||||||
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()
|
||||||
@ -112,6 +114,8 @@ if __name__ == '__main__':
|
|||||||
params['build-git'] = args.build_git
|
params['build-git'] = args.build_git
|
||||||
if args.test_bzr:
|
if args.test_bzr:
|
||||||
params['test-bzr'] = args.test_bzr
|
params['test-bzr'] = args.test_bzr
|
||||||
|
if args.all_proposed:
|
||||||
|
params['all-proposed'] = True
|
||||||
params = '\n' + json.dumps(params)
|
params = '\n' + json.dumps(params)
|
||||||
|
|
||||||
creds = urllib.parse.urlsplit(config.adt_amqp, allow_fragments=False)
|
creds = urllib.parse.urlsplit(config.adt_amqp, allow_fragments=False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user