run-tests: --interactive overrides -j
authorMatt Mackall <mpm@selenic.com>
Wed, 22 Oct 2008 17:34:37 -0500
changeset 7214 0e8a9530d323
parent 7213 b4c035057d34
child 7215 0ab5f21c390b
run-tests: --interactive overrides -j
tests/run-tests.py
--- a/tests/run-tests.py	Wed Oct 22 17:34:08 2008 -0500
+++ b/tests/run-tests.py	Wed Oct 22 17:34:37 2008 -0500
@@ -78,8 +78,8 @@
     print >> sys.stderr, 'ERROR: -j/--jobs must be positive'
     sys.exit(1)
 if options.interactive and options.jobs > 1:
-    print >> sys.stderr, 'ERROR: cannot mix -interactive and --jobs > 1'
-    sys.exit(1)
+    print '(--interactive overrides --jobs)'
+    options.jobs = 1
 
 def rename(src, dst):
     """Like os.rename(), trade atomicity and opened files friendliness