This is an automated email from the git hooks/post-receive script.

a_valentino-guest pushed a commit to branch master
in repository pyresample.

commit 0c7a0d10f34f8661cf1023c7250b3099ecf6300d
Author: Antonio Valentino <antonio.valent...@tiscali.it>
Date:   Mon Jun 23 23:17:54 2014 +0200

    autopkgtests
---
 debian/control       |  1 +
 debian/tests/control |  2 ++
 debian/tests/python2 | 12 ++++++++++++
 3 files changed, 15 insertions(+)

diff --git a/debian/control b/debian/control
index bf309e0..2ac0bf3 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Standards-Version: 3.9.5
 Homepage: http://code.google.com/p/pyresample/
 Vcs-Git: http://anonscm.debian.org/git/pkg-grass/pyresample.git
 Vcs-Browser: 
http://anonscm.debian.org/gitweb/?p=pkg-grass/pyresample.git;a=summary
+XS-Testsuite: autopkgtest
 
 Package: python-pyresample
 Architecture: all
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..c123cb3
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: python2
+Depends: python-pyresample, python-pyresample-test, python-all
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100755
index 0000000..5e409fe
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -efu
+
+PYS=${PYS:-"$(pyversions -r 2>/dev/null)"}
+TESTPKG=${TESTPKG:-pyresample}
+
+cd "$ADTTMP"
+
+for py in $PYS; do
+    echo "=== $py ==="
+    $py -m unittest discover -v /usr/share/python-pyresample-test 2>&1
+done

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/pyresample.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to