summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-07-08 14:37:11 +0300
committerLars Wirzenius <liw@liw.fi>2015-07-08 14:37:11 +0300
commitcd266fa820ed89eb99f96af6ceef1ca121a5ff39 (patch)
tree12ebf2b8d2812d4b72072133fc8fb9768e9e6789 /debian
parent125ead4b71187240ed4cfc6e99ef01f033cca8f2 (diff)
downloadobnam-cd266fa820ed89eb99f96af6ceef1ca121a5ff39.tar.gz
Obey DEB_BUILD_OPTIONS=nocheck
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index b9925e96..f58ee9fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,12 @@ override_dh_auto_build:
make -C manual html
override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
python setup.py build_ext -i
rm -rf build
cp -a test-gpghome temp.gpghome
env GNUPGHOME=temp.gpghome python setup.py check -uy
rm -rf temp.gpghome
+else
+ echo NOT RUNNING TESTS DUE TO DEB_BUILD_OPTIONS
+endif