tests/run-tests.py
changeset 28098 d7b0e81b84c2
parent 28097 81eee5786174
child 28099 a5f0c0aab2bb
equal deleted inserted replaced
28097:81eee5786174 28098:d7b0e81b84c2
  1934             # executed in the test suite that needs to import 'mercurial'
  1934             # executed in the test suite that needs to import 'mercurial'
  1935             # ... which means it's not really redundant at all.
  1935             # ... which means it's not really redundant at all.
  1936             self._pythondir = self._bindir
  1936             self._pythondir = self._bindir
  1937         else:
  1937         else:
  1938             self._installdir = os.path.join(self._hgtmp, b"install")
  1938             self._installdir = os.path.join(self._hgtmp, b"install")
  1939             self._bindir = osenvironb[b"BINDIR"] = \
  1939             self._bindir = os.path.join(self._installdir, b"bin")
  1940                 os.path.join(self._installdir, b"bin")
       
  1941             self._tmpbindir = self._bindir
  1940             self._tmpbindir = self._bindir
  1942             self._pythondir = os.path.join(self._installdir, b"lib", b"python")
  1941             self._pythondir = os.path.join(self._installdir, b"lib", b"python")
  1943 
  1942 
  1944         osenvironb[b"BINDIR"] = self._bindir
  1943         osenvironb[b"BINDIR"] = self._bindir
  1945         osenvironb[b"PYTHON"] = PYTHON
  1944         osenvironb[b"PYTHON"] = PYTHON