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/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'debian/rules') 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