]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Revert "suite: don't schedule follow-on summary job for an empty run"
authorZack Cerza <zack@cerza.org>
Tue, 17 Sep 2013 18:13:46 +0000 (13:13 -0500)
committerZack Cerza <zack@cerza.org>
Tue, 17 Sep 2013 18:47:42 +0000 (13:47 -0500)
This reverts commit a2b7c728964fb0064ba2a69818289caf723f09fc.

teuthology/suite.py

index 89910b1dfe6e7ad74c7c92d49d97fd6bdf488b1a..ae285fc83a1dca48e9d1a1a29db906a64b15d533 100644 (file)
@@ -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):