run-tests: move install.err into test area
authortimeless <timeless@mozdev.org>
Thu, 07 Apr 2016 11:11:55 +0000
changeset 28829 65fb87479792
parent 28828 3640c1702c43
child 28830 a5009789960c
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.
tests/run-tests.py
--- a/tests/run-tests.py	Fri Apr 08 18:35:49 2016 +0000
+++ b/tests/run-tests.py	Thu Apr 07 11:11:55 2016 +0000
@@ -2314,7 +2314,7 @@
         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