Mercurial > hg
comparison tests/run-tests.py @ 32711:04c19c808241
tests: remove sys.executable from "required tools"
In practice this doesn't appear to have been true for some time - we
reference Python using the $PYTHON variable in all the tests now
(which we have to for PyPy and Python 3), and I've been using
~/.../python.exe to test with tip of the cpython 3.6 release branch
while working on manifest tests in Python 3 and everything seems to be
just fine. The only real observable difference from this change is
that I stop getting a warning about python.exe not being a thing on
$PATH, which seems like an improvement.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Sun, 28 May 2017 21:33:33 -0400 |
parents | 1270b00a385d |
children | ef8d24539612 |
comparison
equal
deleted
inserted
replaced
32710:326c0e2c1a1d | 32711:04c19c808241 |
---|---|
2095 Tests rely on a lot of state. This object holds it for them. | 2095 Tests rely on a lot of state. This object holds it for them. |
2096 """ | 2096 """ |
2097 | 2097 |
2098 # Programs required to run tests. | 2098 # Programs required to run tests. |
2099 REQUIREDTOOLS = [ | 2099 REQUIREDTOOLS = [ |
2100 os.path.basename(_bytespath(sys.executable)), | |
2101 b'diff', | 2100 b'diff', |
2102 b'grep', | 2101 b'grep', |
2103 b'unzip', | 2102 b'unzip', |
2104 b'gunzip', | 2103 b'gunzip', |
2105 b'bunzip2', | 2104 b'bunzip2', |