run-tests: move install.err into test area

Without this, sometimes installerrs generated errors
about no such file. It also did not work well when you
had multiple tests runners running around.

It also did not make sense to pollute the repository test
directory with the log file.
This commit is contained in:
timeless 2016-04-07 11:11:55 +00:00
parent 4fdfca9cff
commit 78312b6131

View File

@ -2314,7 +2314,7 @@ class TestRunner(object):
This will also configure hg with the appropriate testing settings.
"""
vlog("# Performing temporary installation of HG")
installerrs = os.path.join(b"tests", b"install.err")
installerrs = os.path.join(self._hgtmp, b"install.err")
compiler = ''
if self.options.compiler:
compiler = '--compiler ' + self.options.compiler