diff tests/run-tests.py @ 7214:0e8a9530d323

run-tests: --interactive overrides -j
author Matt Mackall <mpm@selenic.com>
date Wed, 22 Oct 2008 17:34:37 -0500
parents fb1d7a42663c
children e47dab64be8d
line wrap: on
line diff
--- 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