From 38be6c5ccc11d70ee375e82e79e24e4dc320b8ae Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 18 Apr 2014 14:46:37 +0200 Subject: Run tests during build --- debian/compat | 2 +- debian/control | 6 +++++- debian/rules | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/compat b/debian/compat index 7f8f011..ec63514 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -7 +9 diff --git a/debian/control b/debian/control index bc5502b..343fd35 100644 --- a/debian/control +++ b/debian/control @@ -2,10 +2,14 @@ Source: whatmaps Section: admin Priority: extra Maintainer: Guido Günther -Build-Depends: debhelper (>= 7.0.50~), python-support, lsb-release +Build-Depends: debhelper (>= 9~), lsb-release, + python-all (>> 2.6.6-3~), + python-nose, + python-setuptools, Standards-Version: 3.9.5 Homepage: https://honk.sigxcpu.org/piki/projects/whatmaps Vcs-Git: git://honk.sigxcpu.org/git/whatmaps.git/ +X-Python-Version: >= 2.7 Package: whatmaps Architecture: all diff --git a/debian/rules b/debian/rules index bdf4a77..5ce9e1c 100755 --- a/debian/rules +++ b/debian/rules @@ -10,12 +10,16 @@ #export DH_VERBOSE=1 %: - dh $@ + dh $@ --with python2 override_dh_installman: pod2man man/whatmaps.pod man/whatmaps.8 dh_installman man/whatmaps.8 +override_dh_auto_test: + python setup.py nosetests + dh_auto_test + override_dh_autoclean: rm -f man/whatmaps.8 dh_autoclean -- cgit v1.2.3