summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Kłoczko <kloczek@github.com>2022-08-30 11:55:03 +0000
committerJens Georg <mail@jensge.org>2022-11-09 12:17:18 +0100
commit141125a972e9b8540bc28a92507b993768360aa1 (patch)
treeb4cd3ed43024d9119fa190c495745c7457b0e304
parent44bfd45bd13f6d6d132bf549f5a50b0a9f960fd3 (diff)
downloadgupnp-141125a972e9b8540bc28a92507b993768360aa1.tar.gz
Test suite needs libxml2
Without that build test suite binaties fails ```console + /usr/bin/meson compile -C x86_64-redhat-linux-gnu -j 48 --verbose ninja: Entering directory `/home/tkloczko/rpmbuild/BUILD/gupnp-1.5.3/x86_64-redhat-linux-gnu' [1/66] /usr/bin/gcc -Itests/test-service.p -Itests -I../tests -Iinternal -I../internal -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -Werror=deprecated-declarations -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -pthread '-DDATA_PATH="/home/tkloczko/rpmbuild/BUILD/gupnp-1.5.3/tests/data"' -MD -MQ tests/test-service.p/test-service.c.o -MF tests/test-service.p/test-service.c.o.d -o tests/test-service.p/test-service.c.o -c ../tests/test-service.c FAILED: tests/test-service.p/test-service.c.o /usr/bin/gcc -Itests/test-service.p -Itests -I../tests -Iinternal -I../internal -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -Werror=deprecated-declarations -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -pthread '-DDATA_PATH="/home/tkloczko/rpmbuild/BUILD/gupnp-1.5.3/tests/data"' -MD -MQ tests/test-service.p/test-service.c.o -MF tests/test-service.p/test-service.c.o.d -o tests/test-service.p/test-service.c.o -c ../tests/test-service.c In file included from ../tests/test-service.c:5: ../libgupnp/gupnp-xml-doc.h:15:10: fatal error: libxml/tree.h: No such file or directory 15 | #include <libxml/tree.h> | ^~~~~~~~~~~~~~~ compilation terminated. ``` Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
-rw-r--r--tests/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/meson.build b/tests/meson.build
index a01e89c..f87413a 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -4,7 +4,7 @@ foreach program : ['context', 'bugs', 'context-filter']
executable(
'test-' + program,
'test-@0@.c'.format (program),
- dependencies : gupnp,
+ dependencies : [gupnp, libxml_dep],
c_args : '-DDATA_PATH="@0@/data"'.format(meson.current_source_dir())
),
is_parallel : false