# HG changeset patch # User Benoit Boissinot # Date 1221047553 -7200 # Node ID 0b72836b0384cf921ce759944d16629fc3d87848 # Parent 8362086a12272b5f4bf7b73db11a93d4db677452 run-tests.py: fix the check for the hg installation with -jn (n > 1) diff -r 8362086a1227 -r 0b72836b0384 tests/run-tests.py --- 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: