[med-svn] [plip] 06/14: Add autopkgtest test
Alex Mestiashvili
malex-guest at moszumanska.debian.org
Thu Mar 24 16:43:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
malex-guest pushed a commit to branch master
in repository plip.
commit 3664b86816224f95af45e00a6f6616410a118cf1
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date: Thu Mar 24 13:16:12 2016 +0100
Add autopkgtest test
---
debian/control | 1 +
debian/rules | 3 +++
debian/tests/control | 1 +
debian/tests/special-cases | 6 ++++++
4 files changed, 11 insertions(+)
diff --git a/debian/control b/debian/control
index 269bef5..210b6f5 100644
--- a/debian/control
+++ b/debian/control
@@ -2,6 +2,7 @@ Source: plip
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
Uploaders: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Section: python
+Testsuite: autopkgtest
Priority: optional
Build-Depends: debhelper (>= 9), dh-python, python-all, python-setuptools
Standards-Version: 3.9.7
diff --git a/debian/rules b/debian/rules
index 8d1a0ee..b3e06ae 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,6 @@
export PYBUILD_NAME=plip
%:
dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+ debian/tests/special-cases
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..4d0dac6
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: special-cases
diff --git a/debian/tests/special-cases b/debian/tests/special-cases
new file mode 100755
index 0000000..f137fd1
--- /dev/null
+++ b/debian/tests/special-cases
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -e
+
+cd plip/test
+python test_special_cases.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/plip.git
More information about the debian-med-commit
mailing list