tests: list available tests if an invalid test name is given
This commit is contained in:
parent
534f0a4dd1
commit
9715d4db54
@ -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…
Reference in New Issue
Block a user