[Python-modules-commits] r32510 - in packages/liblarch/trunk/debian (5 files)
dktrkranz at users.alioth.debian.org
dktrkranz at users.alioth.debian.org
Fri May 1 14:27:58 UTC 2015
Date: Friday, May 1, 2015 @ 14:27:57
Author: dktrkranz
Revision: 32510
Provide a simple test suite based on autopkgtest
Added:
packages/liblarch/trunk/debian/tests/
packages/liblarch/trunk/debian/tests/control
packages/liblarch/trunk/debian/tests/python2-smoketest
Modified:
packages/liblarch/trunk/debian/changelog
packages/liblarch/trunk/debian/control
Modified: packages/liblarch/trunk/debian/changelog
===================================================================
--- packages/liblarch/trunk/debian/changelog 2015-05-01 14:24:30 UTC (rev 32509)
+++ packages/liblarch/trunk/debian/changelog 2015-05-01 14:27:57 UTC (rev 32510)
@@ -1,5 +1,7 @@
liblarch (2.1.0-3) UNRELEASED; urgency=medium
+ * debian/tests/*:
+ - Provide a simple test suite based on autopkgtest.
* debian/control:
- Do not provide python-liblarch-gtk transitional package anymore.
- Build-depend against dh-python for Pybuild support.
@@ -10,7 +12,7 @@
* debian/rules:
- Build with Pybuild.
- -- Luca Falavigna <dktrkranz at debian.org> Fri, 01 May 2015 15:56:14 +0200
+ -- Luca Falavigna <dktrkranz at debian.org> Fri, 01 May 2015 16:14:04 +0200
liblarch (2.1.0-2) unstable; urgency=low
Modified: packages/liblarch/trunk/debian/control
===================================================================
--- packages/liblarch/trunk/debian/control 2015-05-01 14:24:30 UTC (rev 32509)
+++ packages/liblarch/trunk/debian/control 2015-05-01 14:27:57 UTC (rev 32510)
@@ -9,6 +9,7 @@
Homepage: https://wiki.gnome.org/Projects/liblarch
Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/liblarch/trunk/
Vcs-Browser: http://anonscm.debian.org/viewsvn/python-modules/packages/liblarch/trunk/
+XS-Testsuite: autopkgtest
Package: python-liblarch
Architecture: all
Added: packages/liblarch/trunk/debian/tests/control
===================================================================
--- packages/liblarch/trunk/debian/tests/control (rev 0)
+++ packages/liblarch/trunk/debian/tests/control 2015-05-01 14:27:57 UTC (rev 32510)
@@ -0,0 +1,2 @@
+Tests: python2-smoketest
+Depends: python-liblarch
Added: packages/liblarch/trunk/debian/tests/python2-smoketest
===================================================================
--- packages/liblarch/trunk/debian/tests/python2-smoketest (rev 0)
+++ packages/liblarch/trunk/debian/tests/python2-smoketest 2015-05-01 14:27:57 UTC (rev 32510)
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+cd "$ADTTMP"
+cat > test.py << EOF
+#!/usr/bin/python
+
+from liblarch import API
+
+
+print 'Current liblarch version: %s' % API
+EOF
+python test.py
More information about the Python-modules-commits
mailing list