diff --git a/CuraEngine/rules b/CuraEngine/rules index f51f3f0..780eece 100755 --- a/CuraEngine/rules +++ b/CuraEngine/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +DEB_ARCH=$(shell dpkg --print-architecture) + # output every command that modifies files on the build system. #export DH_VERBOSE = 1 @@ -13,3 +15,9 @@ override_dh_auto_configure: override_dh_install: dh_install --fail-missing + +ifneq ($(DEB_ARCH),amd64) +override_dh_auto_test: + @echo "Ignoring tests on $(DEB_ARCH)" + dh_auto_test || true +endif