Rev 3117 | Rev 3415 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3117 | Rev 3222 | ||
|---|---|---|---|
| Line 105... | Line 105... | ||
| 105 | printf("%c\t%s\t\t%s%s\n", c, test->name, test->desc, (test->safe ? "" : " (unsafe)")); |
105 | printf("%c\t%s\t\t%s%s\n", c, test->name, test->desc, (test->safe ? "" : " (unsafe)")); |
| 106 | 106 | ||
| 107 | printf("*\t\t\tRun all safe tests\n"); |
107 | printf("*\t\t\tRun all safe tests\n"); |
| 108 | } |
108 | } |
| 109 | 109 | ||
| 110 | int main(void) |
110 | int main(int argc, char **argv) |
| 111 | { |
111 | { |
| - | 112 | printf("Number of arguments: %d\n", argc); |
|
| - | 113 | if (argv) { |
|
| - | 114 | printf("Arguments:"); |
|
| - | 115 | while (*argv) { |
|
| - | 116 | printf(" '%s'", *argv++); |
|
| - | 117 | } |
|
| - | 118 | printf("\n"); |
|
| - | 119 | } |
|
| - | 120 | ||
| 112 | while (1) { |
121 | while (1) { |
| 113 | char c; |
122 | char c; |
| 114 | test_t *test; |
123 | test_t *test; |
| 115 | 124 | ||
| 116 | list_tests(); |
125 | list_tests(); |