build: disable Test interface in base manager if building without tests
There is no real need for this interface if tests are not being built.
This commit is contained in:
@@ -97,7 +97,9 @@ bus_acquired_cb (GDBusConnection *connection,
|
||||
!mm_context_get_no_auto_scan (),
|
||||
mm_context_get_filter_policy (),
|
||||
mm_context_get_initial_kernel_events (),
|
||||
#if defined WITH_TESTS
|
||||
mm_context_get_test_enable (),
|
||||
#endif
|
||||
&error);
|
||||
if (!manager) {
|
||||
mm_warn ("could not create manager: %s", error->message);
|
||||
|
||||
Reference in New Issue
Block a user