From: Philip Withnall Date: Sat, 1 Nov 2014 17:06:46 +0000 (+0000) Subject: queue-test: Add another assertion X-Git-Tag: 1.6.91~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2097414a7c8febf89305e1945f51d7fa9972c41f;p=platform%2Fupstream%2Fwayland.git queue-test: Add another assertion Ensure that the round trip succeeds. Signed-off-by: Philip Withnall Signed-off-by: Karsten Otto Reviewed-by: Marek Chalupa Reviewed-by: Pekka Paalanen --- diff --git a/tests/queue-test.c b/tests/queue-test.c index 96f2100..6e2e932 100644 --- a/tests/queue-test.c +++ b/tests/queue-test.c @@ -66,7 +66,7 @@ client_test_proxy_destroy(void) assert(registry != NULL); wl_registry_add_listener(registry, ®istry_listener, &counter); - wl_display_roundtrip(display); + assert(wl_display_roundtrip(display) != -1); assert(counter == 1);