summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
authorIain Lane <iain@orangesquash.org.uk>2014-04-09 13:38:25 +0100
committerIain Lane <iain@orangesquash.org.uk>2014-04-09 13:38:25 +0100
commit09f69292595363d04d29111f05c2ca1d8c166f2a (patch)
treed20bf723e11fe3a6e1d4c6cc8b39839c5600f337 /debian/rules
parent8d2857522408d7f1bce2e56d5523f3f4f339c014 (diff)
Allow skipping of the tests with DEB_BUILD_OPTIONS=nocheck
(bzr r3736.5.1)
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 5d65c6b95..1e862b9df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,7 +56,9 @@ override_dh_shlibdeps:
dh_shlibdeps -l$(LIBUNITY_PRIVATE) -O--parallel
override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
make -C obj-$(DEB_HOST_GNU_TYPE) check-headless
+endif
%:
dh $@ --with translations,quilt,python2,migrations --parallel