tests: list available tests if an invalid test name is given

dev
Peter Hutterer 11 years ago committed by Kristian Høgsberg
parent 534f0a4dd1
commit 9715d4db54
  1. 1
      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);
}

Loading…
Cancel
Save