rendercheck seems to print to stdout, a file handle is passed to print_tests and then used for putc but not printf. diff --git a/main.c b/main.c index a7035b9..3b40dd6 100644 --- a/main.c +++ b/main.c @@ -134,12 +134,12 @@ void print_tests(FILE *file, int tests) { continue; if (j % 5 == 0) { if(j != 0) - putc('\n', stderr); - putc('\t', stderr); + putc('\n', file); + putc('\t', file); } else { - fprintf(stderr, ", "); + fprintf(file, ", "); } - fprintf(stderr, "%s", available_tests[i].name); + fprintf(file, "%s", available_tests[i].name); j++; } if (j)
The file handle passed to print_tests is always stderr: print_tests(stderr, ~0); so while changing this code may be correct, it also seems like it would have no real effect.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/test/rendercheck/issues/1.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.