[pocl] 01/06: fix testsuite failure on i386

Andreas Beckmann anbe at moszumanska.debian.org
Wed Apr 27 11:52:06 UTC 2016


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

anbe pushed a commit to branch master
in repository pocl.

commit 0a4ca6ea9d6d184b5271f6334442b1ea754e31ce
Author: Andreas Beckmann <anbe at debian.org>
Date:   Wed Apr 27 02:06:05 2016 +0200

    fix testsuite failure on i386
    
    match all i?86 cpu types instead of just i686
---
 debian/changelog                    |  1 +
 debian/patches/fix-tests-i386.patch | 14 ++++++++++++++
 debian/patches/series               |  1 +
 3 files changed, 16 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3610a09..529eb6a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ pocl (0.11-2) UNRELEASED; urgency=medium
 
   * Make the B-D on clang versioned to match llvm.
   * Drop superfluous B-D.
+  * Fix testsuite failure on i386.  (Closes: #822563)
 
  -- Andreas Beckmann <anbe at debian.org>  Mon, 25 Apr 2016 14:39:14 +0200
 
diff --git a/debian/patches/fix-tests-i386.patch b/debian/patches/fix-tests-i386.patch
new file mode 100644
index 0000000..33a5ff0
--- /dev/null
+++ b/debian/patches/fix-tests-i386.patch
@@ -0,0 +1,14 @@
+Author: Andreas Beckmann <anbe at debian.org>
+Description: also skip test on i586 CPU
+
+--- a/tests/testsuite.at
++++ b/tests/testsuite.at
+@@ -87,7 +87,7 @@ AT_CLEANUP
+ 
+ AT_SETUP([Kernel functions printf])
+ # On 32-bit x86, accessing int4 via va_arg segfaults (wrong alignment?)
+-AT_XFAIL_IF([grep HOST_CPU $abs_top_builddir/config.h | cut -d\" -f2 | grep -q i686])
++AT_XFAIL_IF([grep HOST_CPU $abs_top_builddir/config.h | cut -d\" -f2 | grep -q i.86])
+ AT_XFAIL_IF([egrep -q "#define LLVM_3_2|#define LLVM_3_3" $abs_top_builddir/config.h])
+ AT_KEYWORDS([printf])
+ AT_CHECK_UNQUOTED([$abs_top_builddir/tests/kernel/kernel test_printf], 0,
diff --git a/debian/patches/series b/debian/patches/series
index c15d352..9e9dcc2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ fix-configure-for-debian-archs.patch
 llvm-system-libs.patch
 fix-image-args.patch
 typos.patch
+fix-tests-i386.patch

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



More information about the Pkg-opencl-commits mailing list