Mercurial > hg
changeset 9883:0a8a43b4ca75
run-tests: set --home when building with distutils
If home was set in ~/.pydistutils.cfg, the tests could not run. This
overrides any home setting by supplying --home="" on the command line.
author | Dan Villiom Podlaski Christiansen <danchr@gmail.com> |
---|---|
date | Tue, 17 Nov 2009 13:24:58 +0100 |
parents | b3b57ecbda50 |
children | 2dd700a35fd1 |
files | tests/run-tests.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/run-tests.py Wed Nov 18 20:14:17 2009 +0100 +++ b/tests/run-tests.py Tue Nov 17 13:24:58 2009 +0100 @@ -293,7 +293,7 @@ os.chdir(hgroot) cmd = ('%s setup.py %s clean --all' ' install --force --prefix="%s" --install-lib="%s"' - ' --install-scripts="%s" >%s 2>&1' + ' --install-scripts="%s" --home="" >%s 2>&1' % (sys.executable, pure, INST, PYTHONDIR, BINDIR, installerrs)) vlog("# Running", cmd) if os.system(cmd) == 0: