comparison tests/run-tests.py @ 12643:d08bb64888bc

tests: reintroduce ":$HGPORT" in test output This reduces the number of patterns that must be adjusted when writing tests.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 08 Oct 2010 22:36:11 -0500
parents 236058a65cb4
children 9848a94e2ad6
comparison
equal deleted inserted replaced
12642:bb35840e965c 12643:d08bb64888bc
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