From: Zack Cerza Date: Tue, 17 Sep 2013 18:13:46 +0000 (-0500) Subject: Revert "suite: don't schedule follow-on summary job for an empty run" X-Git-Tag: 1.1.0~1871 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=61ddeb6a0331bf01bdc687664e2b66331ee2c665;p=teuthology.git Revert "suite: don't schedule follow-on summary job for an empty run" This reverts commit a2b7c728964fb0064ba2a69818289caf723f09fc. --- diff --git a/teuthology/suite.py b/teuthology/suite.py index 89910b1df..ae285fc83 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -180,19 +180,18 @@ combination, and will override anything in the suite. args=arg, ) - if num_jobs: - arg = copy.deepcopy(base_arg) - arg.append('--last-in-suite') - if args.email: - arg.extend(['--email', args.email]) - if args.timeout: - arg.extend(['--timeout', args.timeout]) - if args.dry_run: - log.info('dry-run: %s' % ' '.join(arg)) - else: - subprocess.check_call( - args=arg, - ) + arg = copy.deepcopy(base_arg) + arg.append('--last-in-suite') + if args.email: + arg.extend(['--email', args.email]) + if args.timeout: + arg.extend(['--timeout', args.timeout]) + if args.dry_run: + log.info('dry-run: %s' % ' '.join(arg)) + else: + subprocess.check_call( + args=arg, + ) def combine_path(left, right):