##// END OF EJS Templates
run-tests: fix heredoctest for out-of-tree extensions...
Patrick Mezard -
r20513:dcd3bebf default
parent child Browse files
Show More
@@ -1264,8 +1264,9 b' def main():'
1264
1264
1265 # Include TESTDIR in PYTHONPATH so that out-of-tree extensions
1265 # Include TESTDIR in PYTHONPATH so that out-of-tree extensions
1266 # can run .../tests/run-tests.py test-foo where test-foo
1266 # can run .../tests/run-tests.py test-foo where test-foo
1267 # adds an extension to HGRC
1267 # adds an extension to HGRC. Also include run-test.py directory to import
1268 pypath = [PYTHONDIR, TESTDIR]
1268 # modules like heredoctest.
1269 pypath = [PYTHONDIR, TESTDIR, os.path.abspath(os.path.dirname(__file__))]
1269 # We have to augment PYTHONPATH, rather than simply replacing
1270 # We have to augment PYTHONPATH, rather than simply replacing
1270 # it, in case external libraries are only available via current
1271 # it, in case external libraries are only available via current
1271 # PYTHONPATH. (In particular, the Subversion bindings on OS X
1272 # PYTHONPATH. (In particular, the Subversion bindings on OS X
General Comments 0
You need to be logged in to leave comments. Login now