Add two newlines in formatting for test runner
This commit is contained in:
parent
ebf8b1c901
commit
2ae513e228
1 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ int main(int argc, char *argv[]) {
|
||||||
char cmd[100], output[500];
|
char cmd[100], output[500];
|
||||||
|
|
||||||
total = argc-1;
|
total = argc-1;
|
||||||
printf("\n\t=== \033[0;33mRunning %i tests\033[0m ===\n", total);
|
printf("\n\t=== \033[0;33mRunning %i tests\033[0m ===\n\n", total);
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
snprintf(cmd, 100, "./%s", argv[i]);
|
snprintf(cmd, 100, "./%s", argv[i]);
|
||||||
printf("%-25s", argv[i]);
|
printf("%-25s", argv[i]);
|
||||||
|
@ -35,10 +35,10 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (fail) {
|
if (fail) {
|
||||||
printf("\nResults: \033[0;31mFAILED\033[0m %i succeeded; %i failed; %i skipped\n",
|
printf("\nResults: \033[0;31mFAILED\033[0m %i succeeded; %i failed; %i skipped\n\n",
|
||||||
pass, fail, skip);
|
pass, fail, skip);
|
||||||
} else {
|
} else {
|
||||||
printf("\nResults: \033[0;32mOk\033[0m %i succeeded; %i failed; %i skipped\n",
|
printf("\nResults: \033[0;32mOk\033[0m %i succeeded; %i failed; %i skipped\n\n",
|
||||||
pass, fail, skip);
|
pass, fail, skip);
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue