]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
Add test-fdpass to the build, and make it compile again
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 4 Feb 2015 19:45:23 +0000 (19:45 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 5 Feb 2015 15:23:22 +0000 (15:23 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88998
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
test/Makefile.am
test/fdpass.c

index e4bbdf0e1483fc6e5a03b97c03a11ad7924c5ee6..c2a55c9edfb4d975621a179a64640f221973aeee 100644 (file)
@@ -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)
index d7929a8f06945a9b7e11abd50626d4c9eab8d656..fa958da88b79d9bb05104059d025075096c13183 100644 (file)
@@ -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