changeset 7025:766d8cb8c622

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 ee308d44ad76
children 3e49127bcec3
files tests/run-tests.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Sun Sep 07 15:10:11 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: