[ocl-icd] 04/09: test 5 does not work on mips64*

Vincent Danjean vdanjean at debian.org
Mon May 18 19:36:32 UTC 2015


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

vdanjean pushed a commit to branch master
in repository ocl-icd.

commit 6e60997e60208823f353ee6f67a71c52c550a253
Author: Vincent Danjean <Vincent.Danjean at ens-lyon.org>
Date:   Fri Jan 9 16:02:41 2015 +0100

    test 5 does not work on mips64*
---
 debian/changelog | 8 ++++++++
 debian/rules     | 7 +++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8b93568..3f1fbb3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ocl-icd (2.2.3-2) unstable; urgency=medium
+
+  * Disabling test 5 in the testsuite that generate an error on mips64*
+    architectures due to the use of alternative (simple) prototypes in the test
+    (Closes: #774876)
+
+ -- Vincent Danjean <vdanjean at debian.org>  Fri, 09 Jan 2015 15:57:59 +0100
+
 ocl-icd (2.2.3-1) unstable; urgency=medium
 
   * New upstream release
diff --git a/debian/rules b/debian/rules
index e45276e..18d2515 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,13 @@ override_dh_auto_configure:
 		dh_auto_configure -- --disable-debug --disable-update-database \
 			--enable-official-khronos-headers
 
+DEB_HOST_ARCH:=$(shell dpkg-architecture -qDEB_HOST_ARCH)
+ifneq ($(filter mips64%,$(DEB_HOST_ARCH)),)
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+	dh_auto_test -- TESTSUITEFLAGS="-4 6-"
+endif
+
 .PHONY: override_dh_shlibdeps
 override_dh_shlibdeps:
 	dh_shlibdeps -a -- --warnings=7

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ocl-icd.git



More information about the Pkg-opencl-commits mailing list