package/pixman: disable tests
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 5 Dec 2015 11:48:54 +0000 (12:48 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 5 Dec 2015 14:38:36 +0000 (15:38 +0100)
Tests are broken on some architectures because of an incomplete fenv.

Since the tests are not really useful in the Buildroot environment, just
disable them.

Fixes a lot of build failures:
    http://autobuild.buildroot.org/results/cd7/cd722620832c28d22eacfc43336f6952b82305ff/
    http://autobuild.buildroot.org/results/3f4/3f4f1e88988d66b052432885b4f044a0eddcee2c/
    ...

Pixman was already autoreconfed (but that was not needed). Since we now
really need to autoreconf it, add a comment stating why we do.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/pixman/0001-Disable-tests.patch [new file with mode: 0644]
package/pixman/pixman.mk

diff --git a/package/pixman/0001-Disable-tests.patch b/package/pixman/0001-Disable-tests.patch
new file mode 100644 (file)
index 0000000..dfadd69
--- /dev/null
@@ -0,0 +1,29 @@
+From 9b8132738c364fc3c886e81e7d383aaff80dc867 Mon Sep 17 00:00:00 2001
+From: "Yann E. MORIN" <yann.morin.1998@free.fr>
+Date: Sat, 5 Dec 2015 12:00:53 +0100
+Subject: [PATCH] Disable tests
+
+Tests are causing build failures on some architectures that are missing
+a proper fenv.h, so just disable them.
+
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+
+---
+Status: Buildroot specific, not suitable for upstream in this state.
+---
+ Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 5137c9e..eae79fd 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,4 +1,4 @@
+-SUBDIRS = pixman demos test
++SUBDIRS = pixman demos
+ pkgconfigdir=$(libdir)/pkgconfig
+ pkgconfig_DATA=pixman-1.pc
+-- 
+1.9.1
+
index cbf57fede210d6445ddd31ea3a33c41c6f2924e0..8281773bf5c59ec3a66fe2fbd80f890a527b151d 100644 (file)
@@ -12,6 +12,8 @@ PIXMAN_LICENSE_FILES = COPYING
 
 PIXMAN_INSTALL_STAGING = YES
 PIXMAN_DEPENDENCIES = host-pkgconf
+
+# For 0001-Disable-tests.patch
 PIXMAN_AUTORECONF = YES
 
 # don't build gtk based demos