From 443abba065d396514de73535898a91993f377afa Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Mon, 20 Dec 2021 16:55:46 +0100 Subject: [PATCH] package/libnetconf2: disable tests tests are not disabled since bump to version 2.0.24 in commit 721f05420cb5908aa19eef47f96418aa6cd04398 and https://github.com/CESNET/libnetconf2/commit/2cd716353d0922ff57c34ead58fbcd14b7fb92af resulting in the following build failure if cmocka is found: In file included from /home/buildroot/autobuild/instance-2/output-1/build/libnetconf2-2.0.24/tests/client/test_client_ssh.c:8: /home/buildroot/autobuild/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/cmocka.h:2334:47: error: unknown type name 'va_list' 2334 | void vprint_message(const char* const format, va_list args) CMOCKA_PRINTF_ATTRIBUTE(1, 0); | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/fe793ae69d952a7a07d6d07e179925b67469dff4 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/libnetconf2/libnetconf2.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/libnetconf2/libnetconf2.mk b/package/libnetconf2/libnetconf2.mk index 33e1fadf76..ddbb99b7ed 100644 --- a/package/libnetconf2/libnetconf2.mk +++ b/package/libnetconf2/libnetconf2.mk @@ -13,7 +13,7 @@ LIBNETCONF2_DEPENDENCIES = libyang HOST_LIBNETCONF2_DEPENDENCIES = host-libyang LIBNETCONF2_CONF_OPTS = \ - -DENABLE_BUILD_TESTS=OFF \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF ifeq ($(BR2_PACKAGE_LIBSSH_SERVER), y) @@ -31,7 +31,7 @@ LIBNETCONF2_CONF_OPTS += -DENABLE_TLS=OFF endif HOST_LIBNETCONF2_CONF_OPTS = \ - -DENABLE_BUILD_TESTS=OFF \ + -DENABLE_TESTS=OFF \ -DENABLE_VALGRIND_TESTS=OFF \ -DENABLE_SSH=OFF \ -DENABLE_TLS=OFF