[Python-modules-commits] r31232 - in packages/sqlparse/trunk/debian/tests (3 files)
jollyroger-guest at users.alioth.debian.org
jollyroger-guest at users.alioth.debian.org
Fri Oct 24 00:57:21 UTC 2014
Date: Friday, October 24, 2014 @ 00:57:20
Author: jollyroger-guest
Revision: 31232
Fix autopkgtest
Modified:
packages/sqlparse/trunk/debian/tests/control
packages/sqlparse/trunk/debian/tests/python-sqlparse
packages/sqlparse/trunk/debian/tests/python3-sqlparse
Modified: packages/sqlparse/trunk/debian/tests/control
===================================================================
--- packages/sqlparse/trunk/debian/tests/control 2014-10-24 00:41:05 UTC (rev 31231)
+++ packages/sqlparse/trunk/debian/tests/control 2014-10-24 00:57:20 UTC (rev 31232)
@@ -1,5 +1,6 @@
Tests: python-sqlparse
-Depends: @, python-pytest
+Depends: python-all, python-sqlparse, python-pytest
Tests: python3-sqlparse
-Depends: @, python3-pytest
+Depends: python-all, python3-sqlparse, python3-pytest
+Restrictions: allow-stderr
Modified: packages/sqlparse/trunk/debian/tests/python-sqlparse
===================================================================
--- packages/sqlparse/trunk/debian/tests/python-sqlparse 2014-10-24 00:41:05 UTC (rev 31231)
+++ packages/sqlparse/trunk/debian/tests/python-sqlparse 2014-10-24 00:57:20 UTC (rev 31232)
@@ -1,6 +1,7 @@
#!/bin/sh
+set -e
cp -R tests "$ADTTMP"
-cd "$ADTTMP/tests"
+cd "$ADTTMP"
-py.test --pyargs .
+py.test tests
Modified: packages/sqlparse/trunk/debian/tests/python3-sqlparse
===================================================================
--- packages/sqlparse/trunk/debian/tests/python3-sqlparse 2014-10-24 00:41:05 UTC (rev 31231)
+++ packages/sqlparse/trunk/debian/tests/python3-sqlparse 2014-10-24 00:57:20 UTC (rev 31232)
@@ -1,5 +1,7 @@
#!/bin/sh
+set -e
+cp -R tests "$ADTTMP"
2to3 -w "$ADTTMP/tests"
cd "$ADTTMP"
More information about the Python-modules-commits
mailing list