summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2018-04-13 17:09:55 -0700
committerPatrick Venture <venture@google.com>2018-05-29 12:30:42 -0700
commit4c3427c23fb072441a836155dc2eb141d2149c5a (patch)
tree02a0ae01f90464268f2005b9203d66424be49066 /test
parentdba73d71c26bc5f526806e6be2a903ecfd085a7d (diff)
downloadsdbusplus-4c3427c23fb072441a836155dc2eb141d2149c5a.tar.gz
sdbusplus-4c3427c23fb072441a836155dc2eb141d2149c5a.zip
sdbusplus::message::message Add sdbus interface injection
By default message will use the sdbus singleton that points to the real library calls, however you can now pass in an interface pointer for it to use instead. This is handled automatically when the message is created by the sdbusplus::bus::bus as it will pass in its own interface upon creation (via a later CL). Note: This was originally part of another patchset. Change-Id: Iad49164f1a648e6d3af7d288a8953b5a5ab051bf Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index cb2ffb7..b331847 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -8,21 +8,21 @@ TESTS = $(check_PROGRAMS)
check_PROGRAMS += bus_list_names
bus_list_names_SOURCES = bus/list_names.cpp
-bus_list_names_LDADD = $(gtest_ldadd) $(SYSTEMD_LIBS)
+bus_list_names_LDADD = $(gtest_ldadd) $(SYSTEMD_LIBS) $(top_builddir)/sdbusplus/sdbus.o
check_PROGRAMS += bus_match
bus_match_SOURCES = bus/match.cpp
-bus_match_LDADD = $(gtest_ldadd) $(SYSTEMD_LIBS)
+bus_match_LDADD = $(gtest_ldadd) $(SYSTEMD_LIBS) $(top_builddir)/sdbusplus/sdbus.o
check_PROGRAMS += message_append
message_append_SOURCES = message/append.cpp
message_append_CXXFLAGS = $(SYSTEMD_CFLAGS) $(PTHREAD_CFLAGS)
-message_append_LDADD = $(SYSTEMD_LIBS) $(PTHREAD_LIBS)
+message_append_LDADD = $(SYSTEMD_LIBS) $(PTHREAD_LIBS) $(top_builddir)/sdbusplus/sdbus.o
check_PROGRAMS += message_read
message_read_SOURCES = message/read.cpp
message_read_CXXFLAGS = $(SYSTEMD_CFLAGS) $(PTHREAD_CFLAGS)
-message_read_LDADD = $(SYSTEMD_LIBS) $(PTHREAD_LIBS)
+message_read_LDADD = $(SYSTEMD_LIBS) $(PTHREAD_LIBS) $(top_builddir)/sdbusplus/sdbus.o
check_PROGRAMS += message_native_types
message_native_types_SOURCES = message/native_types.cpp
OpenPOWER on IntegriCloud