Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/run-tests @ 2183:a56fc34d6e23
Always clean the build directory before installing for running the tests.
Otherwise tests might run an old version, when e.g. commands.py.orig is
moved back after a revert (old timestamp).
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 03 May 2006 10:45:20 +0200 |
parents | 278f9b13c39a |
children |
comparison
equal
deleted
inserted
replaced
2182:4e35843b2683 | 2183:a56fc34d6e23 |
---|---|
67 TESTDIR="`pwd`" | 67 TESTDIR="`pwd`" |
68 export TESTDIR | 68 export TESTDIR |
69 INST="$HGTMP/install" | 69 INST="$HGTMP/install" |
70 PYTHONDIR="$INST/lib/python" | 70 PYTHONDIR="$INST/lib/python" |
71 cd .. | 71 cd .. |
72 if ${PYTHON-python} setup.py install --home="$INST" \ | 72 if ${PYTHON-python} setup.py clean --all install --force --home="$INST" \ |
73 --install-lib="$PYTHONDIR" > tests/install.err 2>&1 | 73 --install-lib="$PYTHONDIR" > tests/install.err 2>&1 |
74 then | 74 then |
75 rm tests/install.err | 75 rm tests/install.err |
76 else | 76 else |
77 cat tests/install.err | 77 cat tests/install.err |