summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2013-07-23 14:07:35 +0200
committerOndřej Surý <ondrej@sury.org>2013-07-23 14:07:35 +0200
commitdf87b3de299eafc1844a7f4bf08120f4e950658a (patch)
treed2b205ec32d837dc5ef09817656b7b84c56c9130
parent9ccee37bade368ca6027bf242fa8ec8c5e03bcb6 (diff)
downloadknot-df87b3de299eafc1844a7f4bf08120f4e950658a.tar.gz
Disable tests on big endian architectures (but the code still needs to be fixed)
-rwxr-xr-xdebian/rules9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 14e86d8..e4f6315 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
%:
dh $@ --with autoreconf
@@ -27,6 +29,13 @@ override_dh_auto_make:
override_dh_auto_install:
dh_auto_install -- install-info install-pdf install-html
+override_dh_auto_test:
+ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),armel mips powerpc s390 s390x sparc))
+ :
+else
+ dh_auto_test
+endif
+
override_dh_strip:
dh_strip --dbg-package=knot-dbg