ltp-testsuite: disable numa tests
authorBaruch Siach <baruch@tkos.co.il>
Fri, 26 Jan 2018 11:03:17 +0000 (13:03 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 27 Jan 2018 10:17:48 +0000 (11:17 +0100)
The LTP_CHECK_SYSCALL_NUMA autoconf macro uses AC_RUN_IFELSE when it
detects the numaif.h header. This is incompatible with cross
compilation.

Fixes:
http://autobuild.buildroot.net/results/21a/21a6eeddbf5ccffc34c38527d0807305a5eb3917/
http://autobuild.buildroot.net/results/fc0/fc01921e8e8e1ea100461b29137c4219e6686c58/
http://autobuild.buildroot.net/results/962/96285d154abd65838ff5c66e96db309d9ac26c80/

Cc: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ltp-testsuite/ltp-testsuite.mk

index 87854568d8a64e983c0961fc6a862af14db37163..28dc24749ec88772be2941659849fcf669262f3b 100644 (file)
@@ -56,7 +56,8 @@ LTP_TESTSUITE_CONF_ENV += \
        CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \
        CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \
        LIBS="$(LTP_TESTSUITE_LIBS)" \
-       SYSROOT="$(STAGING_DIR)"
+       SYSROOT="$(STAGING_DIR)" \
+       have_numa_headers=no
 
 # Requires uClibc fts and bessel support, normally not enabled
 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)