Rev 3343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3343 | Rev 3492 | ||
|---|---|---|---|
| Line 131... | Line 131... | ||
| 131 | if ((c >= 'a') && (c <= 'z')) { |
131 | if ((c >= 'a') && (c <= 'z')) { |
| 132 | for (test = tests; test->name != NULL; test++, c--) |
132 | for (test = tests; test->name != NULL; test++, c--) |
| 133 | if (c == 'a') |
133 | if (c == 'a') |
| 134 | break; |
134 | break; |
| 135 | 135 | ||
| 136 | if (c > 'a') |
136 | if (test->name == NULL) |
| 137 | printf("Unknown test\n\n"); |
137 | printf("Unknown test\n\n"); |
| 138 | else |
138 | else |
| 139 | run_test(test); |
139 | run_test(test); |
| 140 | } else if (c == '*') { |
140 | } else if (c == '*') { |
| 141 | run_safe_tests(); |
141 | run_safe_tests(); |
| Line 145... | Line 145... | ||
| 145 | } else { |
145 | } else { |
| 146 | printf("Invalid test\n\n"); |
146 | printf("Invalid test\n\n"); |
| 147 | } |
147 | } |
| 148 | 148 | ||
| 149 | } |
149 | } |
| - | 150 | ||
| - | 151 | return 0; |
|
| 150 | } |
152 | } |
| 151 | 153 | ||
| 152 | /** @} |
154 | /** @} |
| 153 | */ |
155 | */ |