package/libnetconf2: disable tests

tests are not disabled since bump to version 2.0.24 in commit
721f05420c and
2cd716353d
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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-12-20 16:55:46 +01:00 committed by Thomas Petazzoni
parent 45c28b417a
commit 443abba065

View file

@ -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