On 06/07/2017 12:03 PM, Eric Anholt wrote:
Brian Paul <bri...@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.

Actually, I think it's allowed behavior.


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.

I think I can work around this with setvbuf() to disable buffering.

New patch coming.

-Brian

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to