[PATCH weston 5/5] tests: list available tests if an invalid test name is given
Kristian Høgsberg
hoegsberg at gmail.com
Wed Sep 11 13:41:41 PDT 2013
On Wed, Sep 11, 2013 at 04:08:47PM +1000, Peter Hutterer wrote:
> ---
> tests/weston-test-runner.c | 1 +
> 1 file changed, 1 insertion(+)
All patches committed, thanks.
Kristian
> diff --git a/tests/weston-test-runner.c b/tests/weston-test-runner.c
> index fefb93b..ed5baf0 100644
> --- a/tests/weston-test-runner.c
> +++ b/tests/weston-test-runner.c
> @@ -82,6 +82,7 @@ int main(int argc, char *argv[])
> t = find_test(argv[1]);
> if (t == NULL) {
> fprintf(stderr, "unknown test: \"%s\"\n", argv[1]);
> + list_tests();
> exit(EXIT_FAILURE);
> }
>
> --
> 1.8.3.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list