From 386028d3ef88c484905152c4781b3c6b6c59b4be Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 18 May 2015 21:32:33 +0300 Subject: [PATCH] unit/test-gdbus-client: Don't run tests if setup fails This will make all gdbus tests be ignored if D-Bus is not available and one cannot be created with dbus-run-session. --- unit/test-gdbus-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit/test-gdbus-client.c b/unit/test-gdbus-client.c index 7e16d16a9..b25289f1c 100644 --- a/unit/test-gdbus-client.c +++ b/unit/test-gdbus-client.c @@ -72,7 +72,7 @@ static struct context *create_context(void) } g_free(context); - tester_test_failed(); + tester_test_abort(); return NULL; } -- 2.47.3