From 70e70d2f6a23fadc192d9f97067fe48a28b4e6f2 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 17 May 2016 09:01:57 +0100 Subject: test-doc-portal: rely on service activation to start D-Bus service This is a more realistic integration test anyway. Signed-off-by: Simon McVittie --- tests/test-doc-portal.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/test-doc-portal.c b/tests/test-doc-portal.c index 8ca2164..5daa3b2 100644 --- a/tests/test-doc-portal.c +++ b/tests/test-doc-portal.c @@ -334,7 +334,6 @@ global_setup (void) gboolean inited; g_autofree gchar *fusermount = NULL; GError *error = NULL; - gint exit_status; g_autofree gchar *services = NULL; fusermount = g_find_program_in_path ("fusermount"); @@ -360,10 +359,6 @@ global_setup (void) /* g_test_dbus_up unsets this, so re-set */ g_setenv ("XDG_RUNTIME_DIR", outdir, TRUE); - g_spawn_command_line_sync (DOC_PORTAL " -d", NULL, NULL, &exit_status, &error); - g_assert_no_error (error); - g_assert_cmpint (exit_status, ==, 0); - session_bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &error); g_assert_no_error (error); -- cgit v1.2.1