diff options
author | Luiz Augusto von Dentz <luiz.von.dentz-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> | 2015-04-22 10:39:57 +0200 |
---|---|---|
committer | Arman Uguray <armansito@chromium.org> | 2015-04-22 13:47:13 -0700 |
commit | 23fe43014b2a70bb676ca086702880b5188c4235 (patch) | |
tree | 0fbe47da2df7867dbecd215a5511b621164f9396 /unit/test-gdbus-client.c | |
parent | dbcbfa99531fbdb5988336ae01475ba3f55596a0 (diff) | |
download | bluez-23fe43014b2a70bb676ca086702880b5188c4235.tar.gz |
unit/test-gdbus-client: Fix hanging if D-Bus fails to launch
In case D-Bus fails to launch make the test fails so it does not hang
other tests.
Diffstat (limited to 'unit/test-gdbus-client.c')
-rw-r--r-- | unit/test-gdbus-client.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unit/test-gdbus-client.c b/unit/test-gdbus-client.c index 5a4b974e1..7e16d16a9 100644 --- a/unit/test-gdbus-client.c +++ b/unit/test-gdbus-client.c @@ -72,6 +72,7 @@ static struct context *create_context(void) } g_free(context); + tester_test_failed(); return NULL; } |