diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/testall.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/testall.c b/test/testall.c index cbaa4679e..a7d803064 100644 --- a/test/testall.c +++ b/test/testall.c @@ -135,6 +135,12 @@ int main(int argc, char *argv[]) exclude = 1; continue; } + if (!strcmp(argv[i], "-l")) { + for (i = 0; tests[i].func != NULL; i++) { + printf("%s\n", tests[i].testname); + } + exit(0); + } if (argv[i][0] == '-') { fprintf(stderr, "invalid option: `%s'\n", argv[i]); exit(1); |