diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-09 15:09:42 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-09 15:09:42 +0000 |
commit | aadb4d9a53d406b4bf40089a10ef94302d21b6bb (patch) | |
tree | 9a627fd7349a8f2c6584b7d6b7799286746c2d04 /gm | |
parent | df187c7eb27d7616b75d91f3329deb97c4cd6de2 (diff) |
flush after every print in windows
R=djsollen@google.com, reed@google.com, epoger@google.com
Author: bsalomon@google.com
Review URL: https://codereview.chromium.org/26680004
git-svn-id: http://skia.googlecode.com/svn/trunk@11670 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r-- | gm/gm_expectations.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gm/gm_expectations.cpp b/gm/gm_expectations.cpp index 7d6ccf6464..63aa638aac 100644 --- a/gm/gm_expectations.cpp +++ b/gm/gm_expectations.cpp @@ -34,6 +34,11 @@ namespace skiagm { va_start(args, format); fprintf(stream, "GM: "); vfprintf(stream, format, args); +#ifdef SK_BUILD_FOR_WIN + if (stderr == stream || stdout == stream) { + fflush(stream); + } +#endif va_end(args); } |