changeset 7018:0b72836b0384

run-tests.py: fix the check for the hg installation with -jn (n > 1)
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 10 Sep 2008 13:52:33 +0200
parents 8362086a1227
children 6b1ece890f9a
files tests/run-tests.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Wed Sep 10 08:49:05 2008 +0200
+++ b/tests/run-tests.py	Wed Sep 10 13:52:33 2008 +0200
@@ -471,6 +471,8 @@
 def run_children(tests):
     if not options.with_hg:
         install_hg()
+        if hgpkg != expecthg:
+            print '# Testing unexpected mercurial: %s' % hgpkg
 
     optcopy = dict(options.__dict__)
     optcopy['jobs'] = 1
@@ -540,8 +542,8 @@
         if not options.with_hg:
             install_hg()
 
-        if hgpkg != expecthg:
-           print '# Testing unexpected mercurial: %s' % hgpkg
+            if hgpkg != expecthg:
+                print '# Testing unexpected mercurial: %s' % hgpkg
 
         if options.timeout > 0:
             try: