changeset 7214:0e8a9530d323

run-tests: --interactive overrides -j
author Matt Mackall <mpm@selenic.com>
date Wed, 22 Oct 2008 17:34:37 -0500
parents b4c035057d34
children 0ab5f21c390b
files tests/run-tests.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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