utility/sdbus: Add bus processing workaround
Provide a wrapper for others to use that works around a memory leak that
we have with processing dbus matches in an event loop.
Change-Id: I944e9c2547844b507216e334bd013f26b8a547da
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/meson.build b/test/meson.build
index 29704ca..b2cdbc1 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -31,11 +31,20 @@
'source/io',
'source/signal',
'source/time',
+ 'utility/sdbus',
'utility/timer',
]
foreach t : tests
- test(t, executable(t.underscorify(), t + '.cpp',
- implicit_include_directories: false,
- dependencies: [sdeventplus_dep, gtest, gmock]))
+ test(t,
+ executable(
+ t.underscorify(),
+ t + '.cpp',
+ implicit_include_directories: false,
+ dependencies: [
+ dependency('sdbusplus'),
+ sdeventplus_dep,
+ gtest,
+ gmock,
+ ]))
endforeach