context: new '--test-enable' to enable the Test interface

This commit is contained in:
Aleksander Morgado
2013-11-22 13:47:11 +01:00
parent 243720414e
commit 65f87561c5
7 changed files with 82 additions and 4 deletions

View File

@@ -64,6 +64,7 @@ bus_acquired_cb (GDBusConnection *connection,
g_assert (!manager);
manager = mm_manager_new (connection,
!mm_context_get_test_no_auto_scan (),
mm_context_get_test_enable (),
&error);
if (!manager) {
mm_warn ("Could not create manager: %s", error->message);