[mmtk] 01/01: add the autopkgtest

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Thu Jan 1 11:35:31 UTC 2015


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

picca pushed a commit to branch master
in repository mmtk.

commit d912ee31cb38dd7c5e9913096b57c6271a21b18f
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Thu Jan 1 12:35:19 2015 +0100

    add the autopkgtest
---
 debian/changelog     | 6 ++++++
 debian/control       | 1 +
 debian/tests/control | 2 ++
 debian/tests/python2 | 9 +++++++++
 4 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 25d7e44..a173d33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+mmtk (2.7.9-2) UNRELEASED; urgency=medium
+
+  * add the autopkgtest
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org>  Thu, 01 Jan 2015 12:35:04 +0100
+
 mmtk (2.7.9-1) unstable; urgency=low
 
   * Imported Upstream version 2.7.9
diff --git a/debian/control b/debian/control
index 32e561e..b40bd18 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/mmtk.gi
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/mmtk.git
 Homepage: http://dirac.cnrs-orleans.fr/MMTK/
 X-Python-Version: >= 2.6
+XS-Testsuite: autopkgtest
 
 Package: python-mmtk
 Architecture: any
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..c546c06
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: python2
+Depends: python-mmtk, python-all
diff --git a/debian/tests/python2 b/debian/tests/python2
new file mode 100755
index 0000000..e33c05f
--- /dev/null
+++ b/debian/tests/python2
@@ -0,0 +1,9 @@
+#!/bin/sh
+set -e -u
+cp -a Tests/ "$ADTTMP"
+cd "$ADTTMP/Tests/"
+
+for python in $(pyversions -i); do
+        PYTHONWARNINGS=d $python all_tests.py 2>&1
+done
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mmtk.git



More information about the debian-science-commits mailing list