tests/run-tests.py
changeset 2183 a56fc34d6e23
parent 2146 eb1ed410aa34
child 2213 6f76a479ae51
--- a/tests/run-tests.py	Wed May 03 10:18:52 2006 +0200
+++ b/tests/run-tests.py	Wed May 03 10:45:20 2006 +0200
@@ -69,8 +69,9 @@
     installerrs = os.path.join("tests", "install.err")
 
     os.chdir("..") # Get back to hg root
-    cmd = '%s setup.py install --home="%s" --install-lib="%s" >%s 2>&1' % \
-        (sys.executable, INST, PYTHONDIR, installerrs)
+    cmd = ('%s setup.py clean --all'
+           ' install --force --home="%s" --install-lib="%s" >%s 2>&1'
+           % (sys.executable, INST, PYTHONDIR, installerrs))
     vlog("# Running", cmd)
     if os.system(cmd) == 0:
         if not verbose: