Mercurial > hg
comparison tests/run-tests.py @ 28098:d7b0e81b84c2
run-tests: drop redundant assignment to BINDIR
We do it a few lines after.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 07 Feb 2016 16:02:41 +0900 |
parents | 81eee5786174 |
children | a5f0c0aab2bb |
comparison
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 |