Dim '[', '/' and ']' chars in output
This commit is contained in:
parent
11d8d8fa5a
commit
26fd49485a
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
runner
|
2
runner.c
2
runner.c
|
@ -42,7 +42,7 @@ int main(int argc, char *argv[]) {
|
|||
printf("\n\t=== \033[0;33mRunning %i tests\033[0m ===\n\n", total);
|
||||
for (i = 1; i < argc; i++) {
|
||||
snprintf(cmd, 100, "./%s", argv[i]);
|
||||
printf("[%03i/%03i] %-25s", i, total, argv[i]);
|
||||
printf("\033[0;2m[\033[0m%03i\033[0;2m/\033[0m%03i\033[0;2m]\033[0m %-25s", i, total, argv[i]);
|
||||
pipe = popen(cmd, "w");
|
||||
read = fread(&output, 1, 500, pipe);
|
||||
ret = pclose(pipe);
|
||||
|
|
Loading…
Add table
Reference in a new issue