[Python-modules-commits] r31231 - in packages/sqlparse/trunk/debian (5 files)
jollyroger-guest at users.alioth.debian.org
jollyroger-guest at users.alioth.debian.org
Fri Oct 24 00:41:06 UTC 2014
Date: Friday, October 24, 2014 @ 00:41:05
Author: jollyroger-guest
Revision: 31231
Add autopkgtest support
Added:
packages/sqlparse/trunk/debian/tests/
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/control
Modified: packages/sqlparse/trunk/debian/control
===================================================================
--- packages/sqlparse/trunk/debian/control 2014-10-23 18:26:12 UTC (rev 31230)
+++ packages/sqlparse/trunk/debian/control 2014-10-24 00:41:05 UTC (rev 31231)
@@ -15,6 +15,7 @@
Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/sqlparse/trunk/
X-Python-Version: >= 2.5
X-Python3-Version: >= 3.2
+Testsuite: autopkgtest
Package: python-sqlparse
Architecture: all
Added: packages/sqlparse/trunk/debian/tests/control
===================================================================
--- packages/sqlparse/trunk/debian/tests/control (rev 0)
+++ packages/sqlparse/trunk/debian/tests/control 2014-10-24 00:41:05 UTC (rev 31231)
@@ -0,0 +1,5 @@
+Tests: python-sqlparse
+Depends: @, python-pytest
+
+Tests: python3-sqlparse
+Depends: @, python3-pytest
Added: packages/sqlparse/trunk/debian/tests/python-sqlparse
===================================================================
--- packages/sqlparse/trunk/debian/tests/python-sqlparse (rev 0)
+++ packages/sqlparse/trunk/debian/tests/python-sqlparse 2014-10-24 00:41:05 UTC (rev 31231)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cp -R tests "$ADTTMP"
+cd "$ADTTMP/tests"
+
+py.test --pyargs .
Added: packages/sqlparse/trunk/debian/tests/python3-sqlparse
===================================================================
--- packages/sqlparse/trunk/debian/tests/python3-sqlparse (rev 0)
+++ packages/sqlparse/trunk/debian/tests/python3-sqlparse 2014-10-24 00:41:05 UTC (rev 31231)
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+2to3 -w "$ADTTMP/tests"
+cd "$ADTTMP"
+
+py.test-3 tests
More information about the Python-modules-commits
mailing list