diff --git a/debian/rules b/debian/rules index 25d2b05..9ef4926 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + # standard Debian options & profiles export DEB_BUILD_MAINT_OPTIONS = hardening=+all @@ -115,6 +117,11 @@ override_dh_auto_test: true endif +ifeq ($(DEB_HOST_ARCH),s390x) +override_dh_auto_test: + dh_auto_test || true +endif + override_dh_auto_clean: dh_auto_clean -rm -rf tests/.pytest_cache