mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-14 10:58:03 +02:00
Add test-fdpass to the build, and make it compile again
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88998 Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
This commit is contained in:
parent
4f99a694b5
commit
239fa20812
2 changed files with 13 additions and 1 deletions
|
|
@ -156,6 +156,7 @@ installable_tests += \
|
|||
test-corrupt \
|
||||
test-dbus-daemon \
|
||||
test-dbus-daemon-eavesdrop \
|
||||
test-fdpass \
|
||||
test-monitor \
|
||||
test-loopback \
|
||||
test-marshal \
|
||||
|
|
@ -272,6 +273,17 @@ test_uid_permissions_LDADD = \
|
|||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
test_fdpass_SOURCES = \
|
||||
fdpass.c \
|
||||
$(NULL)
|
||||
test_fdpass_CPPFLAGS = \
|
||||
$(static_cppflags) \
|
||||
$(NULL)
|
||||
test_fdpass_LDADD = \
|
||||
libdbus-testutils-internal.la \
|
||||
$(GLIB_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
if DBUS_ENABLE_MODULAR_TESTS
|
||||
TESTS += $(installable_tests)
|
||||
installcheck_tests += $(installable_tests)
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "test-utils.h"
|
||||
#include "test-utils-glib.h"
|
||||
|
||||
/* Arbitrary; included here to avoid relying on the default */
|
||||
#define MAX_MESSAGE_UNIX_FDS 20
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue