diff options
author | Lennart Regebro <regebro@gmail.com> | 2012-08-22 12:34:48 +0200 |
---|---|---|
committer | Lennart Regebro <regebro@gmail.com> | 2012-08-22 12:34:48 +0200 |
commit | 03ae7b2149f0eb85a27f893b98f6d35d535456ac (patch) | |
tree | 56e32402be0962226c78d603719c16e3af00eba1 | |
parent | 9dc9fea4a5661e119f30f4cdec3ef99e46b5f919 (diff) | |
download | external_python_setuptools-03ae7b2149f0eb85a27f893b98f6d35d535456ac.tar.gz external_python_setuptools-03ae7b2149f0eb85a27f893b98f6d35d535456ac.tar.bz2 external_python_setuptools-03ae7b2149f0eb85a27f893b98f6d35d535456ac.zip |
Tests run under Python 3.3 now.
--HG--
branch : distribute
extra : rebase_source : 93e360785483082ab272dbf693d3e6ac3772b6ab
-rwxr-xr-x | setup.py | 3 | ||||
-rw-r--r-- | test.sh | 10 |
2 files changed, 13 insertions, 0 deletions
@@ -212,6 +212,9 @@ dist = setup( Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 + Programming Language :: Python :: 3.1 + Programming Language :: Python :: 3.2 + Programming Language :: Python :: 3.3 Topic :: Software Development :: Libraries :: Python Modules Topic :: System :: Archiving :: Packaging Topic :: System :: Systems Administration @@ -55,3 +55,13 @@ else echo "Success" fi +rm -rf build +echo -n "Running tests for Python 3.3..." +python3.3 setup.py -q test > /dev/null 2> /dev/null +if [ $? -ne 0 ];then + echo "Failed" + exit $1 +else + echo "Success" +fi + |