Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libnetconf2: disable tests
@ 2021-12-20 15:55 Fabrice Fontaine
  2021-12-25 10:54 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-20 15:55 UTC (permalink / raw)
  To: buildroot; +Cc: Heiko Thiery, Jan Kundrát, Fabrice Fontaine

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 <fontaine.fabrice@gmail.com>
---
 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
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-25 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-20 15:55 [Buildroot] [PATCH 1/1] package/libnetconf2: disable tests Fabrice Fontaine
2021-12-25 10:54 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox