tests/run-tests.py
branchstable
changeset 829 7d66d78e6179
parent 826 ac9b63e01e2a
child 833 a9c6ada32647
equal deleted inserted replaced
828:725ab7fe00e5 829:7d66d78e6179
   689     os.chdir(testtmp)
   689     os.chdir(testtmp)
   690 
   690 
   691     if options.timeout > 0:
   691     if options.timeout > 0:
   692         signal.alarm(options.timeout)
   692         signal.alarm(options.timeout)
   693 
   693 
   694     ret, out = runner(testpath, options, [(testtmp, '$TESTTMP')])
   694     ret, out = runner(testpath, options, [
       
   695         (testtmp, '$TESTTMP'),
       
   696         (':%s' % options.port, ':$HGPORT'),
       
   697         (':%s' % (options.port + 1), ':$HGPORT1'),
       
   698         (':%s' % (options.port + 2), ':$HGPORT2'),
       
   699         ])
   695     vlog("# Ret was:", ret)
   700     vlog("# Ret was:", ret)
   696 
   701 
   697     if options.timeout > 0:
   702     if options.timeout > 0:
   698         signal.alarm(0)
   703         signal.alarm(0)
   699 
   704