From: Peter Hutterer Date: Wed, 11 Sep 2013 06:08:47 +0000 (+1000) Subject: tests: list available tests if an invalid test name is given X-Git-Tag: 1.2.91~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9715d4db54bee69ae6487010809d2ff67339b089;p=platform%2Fupstream%2Fweston.git tests: list available tests if an invalid test name is given --- 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); }