##// END OF EJS Templates
run-tests: setup "correct" python earlier...
marmoute -
r48377:2ee81806 default
parent child Browse files
Show More
@@ -3419,11 +3419,10 b' class TestRunner(object):'
3419 if self.options.list_tests:
3419 if self.options.list_tests:
3420 result = runner.listtests(suite)
3420 result = runner.listtests(suite)
3421 else:
3421 else:
3422 self._usecorrectpython()
3422 if self._installdir:
3423 if self._installdir:
3423 self._installhg()
3424 self._installhg()
3424 self._checkhglib("Testing")
3425 self._checkhglib("Testing")
3425 else:
3426 self._usecorrectpython()
3427 if self.options.chg:
3426 if self.options.chg:
3428 assert self._installdir
3427 assert self._installdir
3429 self._installchg()
3428 self._installchg()
@@ -3705,8 +3704,6 b' class TestRunner(object):'
3705 sys.exit(1)
3704 sys.exit(1)
3706 os.chdir(self._testdir)
3705 os.chdir(self._testdir)
3707
3706
3708 self._usecorrectpython()
3709
3710 hgbat = os.path.join(self._bindir, b'hg.bat')
3707 hgbat = os.path.join(self._bindir, b'hg.bat')
3711 if os.path.isfile(hgbat):
3708 if os.path.isfile(hgbat):
3712 # hg.bat expects to be put in bin/scripts while run-tests.py
3709 # hg.bat expects to be put in bin/scripts while run-tests.py
General Comments 0
You need to be logged in to leave comments. Login now