[PATCH weston 6/9] tests: Allow weston-tests-env to process different test types

Eoff, Ullysses A ullysses.a.eoff at intel.com
Fri Dec 7 12:54:23 PST 2012


<snip>

>> I would be happy with this solution, too.  However, I don't see anything here
>> that explicitly tells Weston to exit after the client tests are finished.  That is,
>> wl_display_terminate(test->compositor->wl_display).  Otherwise, the
>> tests won't finish.
>
>Right, we need that in there too, somehow.  And an int return_code;
>in struct weston_compositor, and then
>
>  ret = ec->return_code;
>
>after wl_display_run() in weston main(), so we can control the weston
>exit code.
>

assert(status == 0) should be good enough in test_client_sigchld.

>Kristian
>
>> U. Artie
>>

<snip>


More information about the wayland-devel mailing list