Mercurial > hg
diff CONTRIBUTING @ 34962:a18eef03d879
run-tests: $TESTDIR can be something else than $PWD
$TESTDIR is expected to be the directory were the test lives, and is often used
to reference helper functions. However, it is now set to $PWD at test invocation
time, so if `run-tests.py` is called from another folder, the test will fail.
The solution is to force $TESTDIR to be the base directory of the test itself,
irrespective of where the runner is called from.
author | Matthieu Laneuville <matthieu.laneuville@octobus.net> |
---|---|
date | Wed, 02 Aug 2017 13:27:45 +0900 |
parents | a492610a2fc1 |
children |