mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-03 00:48:01 +02:00
tests: list available tests if an invalid test name is given
This commit is contained in:
parent
534f0a4dd1
commit
9715d4db54
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue