[Python-checkins] distutils2: now calls get_platform() to get the right lib.VALUE (original) (raw)
tarek.ziade python-checkins at python.org
Sun Mar 13 19:59:24 CET 2011
- Previous message: [Python-checkins] distutils2: added 3.1, 3.2, 3.3 in the tests runner
- Next message: [Python-checkins] distutils2: [mq]: commandline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
http://hg.python.org/distutils2/rev/22da53c1cf98 changeset: 1112:22da53c1cf98 user: Tarek Ziade <tarek at ziade.org> date: Sun Mar 13 14:59:18 2011 -0400 summary: now calls get_platform() to get the right lib.VALUE
files: tests.sh
diff --git a/tests.sh b/tests.sh --- a/tests.sh +++ b/tests.sh @@ -38,11 +38,14 @@ echo Success fi
+LIB=$( python3.1 -c "from distutils.util import get_platform; import sys; print('lib.%s-%s' % (get_platform(), sys.version[0:3]))" ) + + echo -n "Running tests for Python 3.1... " python3.1 setup.py build -q 2> /dev/null > /dev/null cp runtests.py build/ cd build -PYTHONPATH=lib.linux-x86_64-3.1/ python3.1 runtests.py -q 2> /dev/null +PYTHONPATH=${LIB} python3.1 runtests.py -q 2> /dev/null
if [ $? -ne 0 ];then echo Failed @@ -55,7 +58,7 @@ python3.2 setup.py build -q 2> /dev/null > /dev/null cp runtests.py build/ cd build -PYTHONPATH=lib.linux-x86_64-3.1/ python3.2 runtests.py -q 2> /dev/null +PYTHONPATH=${LIB} python3.2 runtests.py -q 2> /dev/null
if [ $? -ne 0 ];then echo Failed @@ -68,7 +71,7 @@ python3.2 setup.py build -q 2> /dev/null > /dev/null cp runtests.py build/ cd build -PYTHONPATH=lib.linux-x86_64-3.1/ python3.3 runtests.py -q 2> /dev/null +PYTHONPATH=${LIB} python3.3 runtests.py -q 2> /dev/null
if [ $? -ne 0 ];then echo Failed
-- Repository URL: http://hg.python.org/distutils2
- Previous message: [Python-checkins] distutils2: added 3.1, 3.2, 3.3 in the tests runner
- Next message: [Python-checkins] distutils2: [mq]: commandline
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]