[visp] 04/05: Fix debian/rules

Thomas Moulard thomas_moulard-guest at alioth.debian.org
Thu Sep 26 04:26:35 UTC 2013


This is an automated email from the git hooks/post-receive script.

thomas_moulard-guest pushed a commit to annotated tag debian/2.8.0-3
in repository visp.

commit cc416c7f5a89467adbdb254e3b13f34d26b4c09e
Author: Thomas Moulard <thomas.moulard at gmail.com>
Date:   Thu Sep 26 13:05:15 2013 +0900

    Fix debian/rules
    
    Git-Dch: ignore
---
 debian/rules |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 53850a3..370e63f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -87,11 +87,12 @@ override_dh_strip:
 # This is not a critical issue so we let the testing fail on this
 # architecture for now.
 # See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723803
-override_dh_auto_test:
 ifeq ($(DEB_HOST_ARCH),ia64)
-	export VISP_INPUT_IMAGE_PATH=/usr/share/visp-images-data/ \
-	 && dh_auto_test --max-parallel=1 || true
+DH_AUTOTEST_CAN_FAIL=true
 else
+DH_AUTOTEST_CAN_FAIL=false
+endif
+
+override_dh_auto_test:
 	export VISP_INPUT_IMAGE_PATH=/usr/share/visp-images-data/ \
-	 && dh_auto_test --max-parallel=1
-fi
+	 && dh_auto_test --max-parallel=1 || ${DH_AUTOTEST_CAN_FAIL}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/visp.git



More information about the debian-science-commits mailing list