<p dir="ltr">I've brought this up once, but looks like it's acceptable in the test suite since it already relies on asserts:<br>
<a href="http://lists.freedesktop.org/archives/wayland-devel/2013-February/007454.html">http://lists.freedesktop.org/archives/wayland-devel/2013-February/007454.html</a></p>
<div class="gmail_quote">On Sep 28, 2014 6:57 PM, "Bill Spitzak" <<a href="mailto:spitzak@gmail.com">spitzak@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 09/28/2014 11:49 AM, Karsten Otto wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-       wl_display_roundtrip(display);<br>
+       assert(wl_display_roundtrip(<u></u>display) != -1);<br>
</blockquote>
<br>
You can't put code that you require to run in an assert.<br>
<br>
______________________________<u></u>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/wayland-devel</a><br>
</blockquote></div>