[Python-modules-commits] r24274 - in packages/python-crypto/trunk/debian/tests (2 files)
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Thu May 9 23:10:16 UTC 2013
Date: Thursday, May 9, 2013 @ 23:10:13
Author: sramacher
Revision: 24274
Don't run tests for the default Python version twice
Modified:
packages/python-crypto/trunk/debian/tests/python2-all
packages/python-crypto/trunk/debian/tests/python3-all
Modified: packages/python-crypto/trunk/debian/tests/python2-all
===================================================================
--- packages/python-crypto/trunk/debian/tests/python2-all 2013-05-09 23:02:11 UTC (rev 24273)
+++ packages/python-crypto/trunk/debian/tests/python2-all 2013-05-09 23:10:13 UTC (rev 24274)
@@ -2,8 +2,11 @@
set -e
PYVERS=$(pyversions -vi)
+PYVERS_DEFAULT=$(pyversions -vd)
for py in $PYVERS ; do
- python$py -c "import Crypto.SelfTest; Crypto.SelfTest.run()" \
- 2> >( grep -v RandomPool_DeprecationWarning >&2 )
+ if [ "$py" != "$PYVERS_DEFAULT" ] ; then
+ python$py -c "import Crypto.SelfTest; Crypto.SelfTest.run()" \
+ 2> >( grep -v RandomPool_DeprecationWarning >&2 )
+ fi
done
Modified: packages/python-crypto/trunk/debian/tests/python3-all
===================================================================
--- packages/python-crypto/trunk/debian/tests/python3-all 2013-05-09 23:02:11 UTC (rev 24273)
+++ packages/python-crypto/trunk/debian/tests/python3-all 2013-05-09 23:10:13 UTC (rev 24274)
@@ -2,8 +2,11 @@
set -e
PYVERS=$(py3versions -vi)
+PYVERS_DEFAULT=$(py3versions -vd)
for py in $PYVERS ; do
- python$py -c "import Crypto.SelfTest; Crypto.SelfTest.run()" \
- 2> >( grep -v RandomPool_DeprecationWarning >&2 )
+ if [ "$py" != "$PYVERS_DEFAULT" ] ; then
+ python$py -c "import Crypto.SelfTest; Crypto.SelfTest.run()" \
+ 2> >( grep -v RandomPool_DeprecationWarning >&2 )
+ fi
done
More information about the Python-modules-commits
mailing list