[Python-checkins] distutils2: make sure the .so files are built everytime
tarek.ziade
python-checkins at python.org
Sun Jul 4 11:48:41 CEST 2010
tarek.ziade pushed 38d8b09c88c9 to distutils2:
http://hg.python.org/distutils2/rev/38d8b09c88c9
changeset: 349:38d8b09c88c9
user: Tarek Ziade <tarek at ziade.org>
date: Sun Jul 04 11:45:00 2010 +0200
summary: make sure the .so files are built everytime
files: src/tests.sh
diff --git a/src/tests.sh b/src/tests.sh
--- a/src/tests.sh
+++ b/src/tests.sh
@@ -1,5 +1,7 @@
#!/bin/sh
echo -n "Running tests for Python 2.4... "
+rm -rf _hashlib.so
+python2.4 setup.py build_ext -i -q 2> /dev/null > /dev/null
python2.4 -Wd runtests.py -q 2> /dev/null
if [ $? -ne 0 ];then
echo "Failed"
@@ -9,6 +11,8 @@
fi
echo -n "Running tests for Python 2.5... "
+rm -rf _hashlib.so
+python2.5 setup.py build_ext -i -q 2> /dev/null > /dev/null
python2.5 -Wd runtests.py -q 2> /dev/null
if [ $? -ne 0 ];then
echo "Failed"
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list