diff 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
line wrap: on
line diff
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -69,7 +69,7 @@ export TESTDIR
 INST="$HGTMP/install"
 PYTHONDIR="$INST/lib/python"
 cd ..
-if ${PYTHON-python} setup.py install --home="$INST" \
+if ${PYTHON-python} setup.py clean --all install --force --home="$INST" \
   --install-lib="$PYTHONDIR" > tests/install.err 2>&1
 then
     rm tests/install.err