summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2016-07-24 21:04:18 +0300
committerLars Wirzenius <liw@liw.fi>2016-07-24 21:04:18 +0300
commit034405ab227de9dd2f62cb2a689e16c889a64de7 (patch)
tree6bd263467f83d647509294bd73818a7de5da3b1a /debian
parent1002c6c0e5d8effcd87e5c9fcbad8cfda3b153eb (diff)
downloadcliapp-034405ab227de9dd2f62cb2a689e16c889a64de7.tar.gz
Run make check when building Debian package
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules5
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 598f0f8..842d2cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,6 @@
python-cliapp (1.20160316+git-1) UNRELEASED; urgency=medium
- *
+ * Change debian/rules to run automated tests during build.
-- Lars Wirzenius <liw@liw.fi> Wed, 16 Mar 2016 19:27:16 +0200
diff --git a/debian/rules b/debian/rules
index 96d6cd4..47c8343 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,10 @@
override_dh_auto_build:
$(MAKE)
dh_auto_build --with=python2 --buildsystem=python_distutils
-
+
+override_dh_auto_test:
+ $(MAKE) check
+
override_dh_auto_clean:
$(MAKE) clean
dh_auto_clean --with=python2 --buildsystem=python_distutils