From 2b0d63b0d892882c0651abc23ac2d3db45d6f012 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Thu, 11 Aug 2016 15:14:22 -0700 Subject: [PATCH] Flush stderr to avoid lost output. --- test/utils/shippable/modules/generate-tests | 1 + 1 file changed, 1 insertion(+) diff --git a/test/utils/shippable/modules/generate-tests b/test/utils/shippable/modules/generate-tests index fdcf346a8e..0902d863f3 100755 --- a/test/utils/shippable/modules/generate-tests +++ b/test/utils/shippable/modules/generate-tests @@ -161,6 +161,7 @@ def print_stderr(*args, **kwargs): """Print to stderr.""" print(*args, file=sys.stderr, **kwargs) + sys.stderr.flush() def dump_stderr(label, l):