projects
/
platform
/
upstream
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
534f0a4
)
tests: list available tests if an invalid test name is given
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 11 Sep 2013 06:08:47 +0000
(16:08 +1000)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Wed, 11 Sep 2013 20:41:22 +0000
(13:41 -0700)
tests/weston-test-runner.c
patch
|
blob
|
history
diff --git
a/tests/weston-test-runner.c
b/tests/weston-test-runner.c
index
fefb93b
..
ed5baf0
100644
(file)
--- 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);
}