[med-svn] [pysam] 02/02: Add autopkgtest

Andreas Tille tille at debian.org
Tue Feb 11 16:26:26 UTC 2014


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

tille pushed a commit to branch master
in repository pysam.

commit c69fe818c1924e5c43a0112d3589edc304d30638
Author: Andreas Tille <tille at debian.org>
Date:   Tue Feb 11 17:27:25 2014 +0100

    Add autopkgtest
---
 debian/control             | 1 +
 debian/tests/control       | 3 +++
 debian/tests/run-unit-test | 4 ++++
 3 files changed, 8 insertions(+)

diff --git a/debian/control b/debian/control
index 934bc6a..c6143b6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,6 +3,7 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Charles Plessy <plessy at debian.org>,
            Andreas Tille <tille at debian.org>
 Section: python
+XS-Testsuite: autopkgtest
 Priority: optional
 Build-Depends: debhelper (>= 9),
                python-all-dev,
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..516915b
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, python-pysam-tests
+Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..ffba74b
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+cd /var/lib/pysam/tests
+./pysam_test_offline.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pysam.git



More information about the debian-med-commit mailing list