Skip to content

Commit 9de86e3

Browse files
committed
meson: Flush stdout in testwrap
Otherwise the progress won't reliably be displayed during a test. Reviewed-by: Noah Misch <noah@leadboat.com> Discussion: https://postgr.es/m/kx6xu7suexal5vwsxpy7ybgkcznx6hgywbuhkr6qabcwxjqax2@i4pcpk75jvaa Backpatch-through: 16
1 parent a38dce3 commit 9de86e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/testwrap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ for line in sp.stdout:
5151
if line.startswith(b'ok '):
5252
line = line.replace(b' # TODO ', b' # testwrap-overridden-TODO ', 1)
5353
sys.stdout.buffer.write(line)
54+
sys.stdout.flush()
5455
returncode = sp.wait()
5556

5657
if returncode == 0:

0 commit comments

Comments
 (0)