[Piglit] [PATCH] util: call fflush() after printf() calls

Eric Anholt eric at anholt.net
Wed Jun 7 18:03:45 UTC 2017


Brian Paul <brianp at vmware.com> writes:

> Otherwise, on Windows, we don't see the printf() output until the program
> exits.  That's fine with the -auto option, but a problem w/out -auto.

That's pretty broken.  Could we just wrap printf/fprintf on windows to
call down and then fflush(), instead of doing it in all the callers?

You've hit the most commonly-called printf callers, but I don't want to
have to do this in all the tests, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20170607/cfbd1113/attachment-0001.sig>


More information about the Piglit mailing list