summaryrefslogtreecommitdiff
path: root/test.sh
diff options
context:
space:
mode:
authorLennart Regebro <regebro@gmail.com>2012-08-20 19:35:57 +0200
committerLennart Regebro <regebro@gmail.com>2012-08-20 19:35:57 +0200
commitce53222d269dbf6bed8d97ed01437aba89faba53 (patch)
treea80adae0f31d96610b7b7176b5c397baf596451d /test.sh
parenta4b326909d1f64037412b5048d59199bc6b648e8 (diff)
downloadpython-setuptools-git-ce53222d269dbf6bed8d97ed01437aba89faba53.tar.gz
And Python 2.7, of course.
--HG-- branch : distribute extra : rebase_source : 81e1d3c6e30c8096505bfdfd25bfe49b5dc37953
Diffstat (limited to 'test.sh')
-rw-r--r--test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test.sh b/test.sh
index 8f5ec654..d62248f2 100644
--- a/test.sh
+++ b/test.sh
@@ -26,6 +26,15 @@ else
echo "Success"
fi
+echo -n "Running tests for Python 2.7..."
+python2.7 setup.py -q test > /dev/null 2> /dev/null
+if [ $? -ne 0 ];then
+ echo "Failed"
+ exit $1
+else
+ echo "Success"
+fi
+
rm -rf build
echo -n "Running tests for Python 3.1..."
python3.1 setup.py -q test > /dev/null 2> /dev/null