We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db63a4 commit b0cdfd4Copy full SHA for b0cdfd4
src/main.c
@@ -157,9 +157,7 @@ int main(int argc, char *argv[])
157
break;
158
159
case 't':
160
- tests();
161
- exit(EXIT_SUCCESS);
162
- break;
+ return tests();
163
164
case 'v':
165
verbose = 1;
src/minunit.c
@@ -202,7 +202,7 @@ int tests()
202
const char *result = all_tests();
203
204
if (result != 0) {
205
- printf("%s \n", result);
+ printf("Error: %s \n", result);
206
207
} else {
208
printf("ALL TESTS PASSED\n");
0 commit comments