# HG changeset patch # User Benoit Boissinot # Date 1221047553 -7200 # Node ID 766d8cb8c622b8b063e9489cddcf6a26fbb915af # Parent ee308d44ad765ffe1ff3f6cc49af262e0609351f run-tests.py: fix the check for the hg installation with -jn (n > 1) diff -r ee308d44ad76 -r 766d8cb8c622 tests/run-tests.py --- 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: