##// END OF EJS Templates
run-tests.py: fix the check for the hg installation with -jn (n > 1)
Benoit Boissinot -
r7025:766d8cb8 default
parent child Browse files
Show More
@@ -471,6 +471,8 hgpkg = None
471 def run_children(tests):
471 def run_children(tests):
472 if not options.with_hg:
472 if not options.with_hg:
473 install_hg()
473 install_hg()
474 if hgpkg != expecthg:
475 print '# Testing unexpected mercurial: %s' % hgpkg
474
476
475 optcopy = dict(options.__dict__)
477 optcopy = dict(options.__dict__)
476 optcopy['jobs'] = 1
478 optcopy['jobs'] = 1
@@ -540,8 +542,8 def run_tests(tests):
540 if not options.with_hg:
542 if not options.with_hg:
541 install_hg()
543 install_hg()
542
544
543 if hgpkg != expecthg:
545 if hgpkg != expecthg:
544 print '# Testing unexpected mercurial: %s' % hgpkg
546 print '# Testing unexpected mercurial: %s' % hgpkg
545
547
546 if options.timeout > 0:
548 if options.timeout > 0:
547 try:
549 try:
General Comments 0
You need to be logged in to leave comments. Login now