Skip to content

Commit 5941946

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 190dc27 commit 5941946

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
@@ -61,6 +61,7 @@ for line in sp.stdout:
6161
if line.startswith(b'ok '):
6262
line = line.replace(b' # TODO ', b' # testwrap-overridden-TODO ', 1)
6363
sys.stdout.buffer.write(line)
64+
sys.stdout.flush()
6465
returncode = sp.wait()
6566

6667
if returncode == 0:

0 commit comments

Comments
 (0)