[python-scientific] 01/01: add the autopkgtest suite
Frédéric-Emmanuel Picca
picca at moszumanska.debian.org
Thu Jan 1 12:37:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
picca pushed a commit to branch master
in repository python-scientific.
commit b7ca8d17e5f9ee8e7b338b678588f74d4a6132ba
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date: Thu Jan 1 13:37:50 2015 +0100
add the autopkgtest suite
---
debian/changelog | 7 +++++++
debian/control | 1 +
debian/tests/control | 2 ++
debian/tests/python2 | 10 ++++++++++
4 files changed, 20 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 248f3f2..b33f51c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+python-scientific (2.9.4-4) UNRELEASED; urgency=medium
+
+ * update the Vcs-Git and bump Standards-Version
+ * add the autopkgtest suite
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org> Thu, 01 Jan 2015 13:37:33 +0100
+
python-scientific (2.9.4-3) unstable; urgency=medium
* revert experimental changes
diff --git a/debian/control b/debian/control
index e4cc717..1d6c9bb 100644
--- a/debian/control
+++ b/debian/control
@@ -15,6 +15,7 @@ X-Python-Version: >= 2.6
Vcs-Browser: http://git.debian.org/?p=debian-science/packages/python-scientific.git
Vcs-Git: git://anonscm.debian.org/debian-science/packages/python-scientific.git
Homepage: https://bitbucket.org/khinsen/scientificpython
+XS-Testsuite: autopkgtest
Package: python-scientific
Architecture: any
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..8fc9cae
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: python2
+Depends: python-scientific, python-netcdf, python-mpi, python-all, python-tk
\ No newline at end of file
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100755
index 0000000..1fa6364
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e -u
+cp -a Tests/ "$ADTTMP"
+cd "$ADTTMP/Tests/"
+
+for python in $(pyversions -i); do
+ for f in *.py; do
+ PYTHONWARNINGS=d $python $f 2>&1
+ done
+done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/python-scientific.git
More information about the debian-science-commits
mailing list