Skip to content

Commit d9bc607

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 0405982 commit d9bc607

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
@@ -46,6 +46,7 @@ for line in sp.stdout:
4646
if line.startswith(b'ok '):
4747
line = line.replace(b' # TODO ', b' # testwrap-overridden-TODO ', 1)
4848
sys.stdout.buffer.write(line)
49+
sys.stdout.flush()
4950
returncode = sp.wait()
5051

5152
if returncode == 0:

0 commit comments

Comments
 (0)