[PATCH 11/12] queue-test: Add another assertion
Philip Withnall
philip at tecnocode.co.uk
Fri Feb 15 04:57:23 PST 2013
Ensure that the round trip succeeds.
Signed-off-by: Philip Withnall <philip at tecnocode.co.uk>
---
tests/queue-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/queue-test.c b/tests/queue-test.c
index c9d3668..da2b237 100644
--- a/tests/queue-test.c
+++ b/tests/queue-test.c
@@ -86,7 +86,7 @@ client_test_proxy_destroy(void)
registry = wl_display_get_registry(display);
wl_registry_add_listener(registry, ®istry_listener,
&counter);
- wl_display_roundtrip(display);
+ client_assert(wl_display_roundtrip(display) > -1);
client_assert(counter == 1);
--
1.7.11.7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130215/a6007bc4/attachment.pgp>
More information about the wayland-devel
mailing list