From fc7696d26b26b2dfd503287d42cc6df8af108fd6 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Wed, 17 Feb 2016 17:54:43 +0100 Subject: [PATCH] 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. --- run-autopkgtest | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run-autopkgtest b/run-autopkgtest index 2e91c47..278a25c 100755 --- a/run-autopkgtest +++ b/run-autopkgtest @@ -57,6 +57,8 @@ def parse_args(): help='A single URL. ' 'The test will be checked out with bzr from that URL. ' '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='+', help='Source package name(s) whose tests to run.') args = parser.parse_args() @@ -112,6 +114,8 @@ if __name__ == '__main__': params['build-git'] = args.build_git if args.test_bzr: params['test-bzr'] = args.test_bzr + if args.all_proposed: + params['all-proposed'] = True params = '\n' + json.dumps(params) creds = urllib.parse.urlsplit(config.adt_amqp, allow_fragments=False)