[Python-modules-commits] r29670 - in packages/libcloud/trunk/debian (5 files)

asb at users.alioth.debian.org asb at users.alioth.debian.org
Mon Jul 7 01:59:42 UTC 2014


    Date: Monday, July 7, 2014 @ 01:59:41
  Author: asb
Revision: 29670

Add autopackage tests.

Added:
  packages/libcloud/trunk/debian/tests/
  packages/libcloud/trunk/debian/tests/control
  packages/libcloud/trunk/debian/tests/upstream
Modified:
  packages/libcloud/trunk/debian/changelog
  packages/libcloud/trunk/debian/control

Modified: packages/libcloud/trunk/debian/changelog
===================================================================
--- packages/libcloud/trunk/debian/changelog	2014-07-07 01:48:29 UTC (rev 29669)
+++ packages/libcloud/trunk/debian/changelog	2014-07-07 01:59:41 UTC (rev 29670)
@@ -7,6 +7,7 @@
   * Add lintian overrides for privacy-breach-generic as they are
     being triggered by dummy data used in the testsuite.
   * Install example files.
+  * Add autopackage tests.
 
  -- Andrew Starr-Bochicchio <a.starr.b at gmail.com>  Sun, 06 Jul 2014 20:12:15 -0400
 

Modified: packages/libcloud/trunk/debian/control
===================================================================
--- packages/libcloud/trunk/debian/control	2014-07-07 01:48:29 UTC (rev 29669)
+++ packages/libcloud/trunk/debian/control	2014-07-07 01:59:41 UTC (rev 29670)
@@ -21,6 +21,7 @@
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.0
+XS-Testsuite: autopkgtest
 Homepage: https://libcloud.apache.org/
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/libcloud/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/libcloud/trunk/

Added: packages/libcloud/trunk/debian/tests/control
===================================================================
--- packages/libcloud/trunk/debian/tests/control	                        (rev 0)
+++ packages/libcloud/trunk/debian/tests/control	2014-07-07 01:59:41 UTC (rev 29670)
@@ -0,0 +1,3 @@
+Tests: upstream
+Depends: @, python-mock, python3-mock, python-setuptools, python3-setuptools
+

Added: packages/libcloud/trunk/debian/tests/upstream
===================================================================
--- packages/libcloud/trunk/debian/tests/upstream	                        (rev 0)
+++ packages/libcloud/trunk/debian/tests/upstream	2014-07-07 01:59:41 UTC (rev 29670)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+PYTHON2S=`pyversions -d`
+PYTHON3S=`py3versions -d`
+
+cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
+
+for PY in $PYTHON2S; do
+    $PY setup.py test 2>&1;
+done
+
+for PY in $PYTHON3S; do
+    $PY setup.py test 2>&1;
+done




More information about the Python-modules-commits mailing list