Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-05 Thread Mikko.Rapeli
On Fri, Apr 05, 2019 at 07:59:41AM +0100, richard.pur...@linuxfoundation.org wrote: > On Fri, 2019-04-05 at 06:54 +, mikko.rap...@bmw.de wrote: > > On Fri, Apr 05, 2019 at 07:46:00AM +0100, > > richard.pur...@linuxfoundation.org wrote: > > > On Fri, 2019-04-05 at 06:16 +,

Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-05 Thread richard . purdie
On Fri, 2019-04-05 at 06:54 +, mikko.rap...@bmw.de wrote: > On Fri, Apr 05, 2019 at 07:46:00AM +0100, > richard.pur...@linuxfoundation.org wrote: > > On Fri, 2019-04-05 at 06:16 +, mikko.rap...@bmw.de wrote: > > > On Thu, Apr 04, 2019 at 10:48:17PM +0100, Richard Purdie wrote: > > > > On

Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-05 Thread Mikko.Rapeli
On Fri, Apr 05, 2019 at 07:46:00AM +0100, richard.pur...@linuxfoundation.org wrote: > On Fri, 2019-04-05 at 06:16 +, mikko.rap...@bmw.de wrote: > > On Thu, Apr 04, 2019 at 10:48:17PM +0100, Richard Purdie wrote: > > > On Thu, 2019-04-04 at 18:00 +0200, Alexander Kanavin wrote: > > > > As

Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-05 Thread richard . purdie
On Fri, 2019-04-05 at 06:16 +, mikko.rap...@bmw.de wrote: > On Thu, Apr 04, 2019 at 10:48:17PM +0100, Richard Purdie wrote: > > On Thu, 2019-04-04 at 18:00 +0200, Alexander Kanavin wrote: > > > As ptest-runner communicates with child processes via pipe2(), > > > the corresponding channels are

Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-05 Thread Mikko.Rapeli
On Thu, Apr 04, 2019 at 10:48:17PM +0100, Richard Purdie wrote: > On Thu, 2019-04-04 at 18:00 +0200, Alexander Kanavin wrote: > > As ptest-runner communicates with child processes via pipe2(), > > the corresponding channels are not attached to a pty. In that > > situation stdio facilities like

Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-04 Thread Richard Purdie
On Thu, 2019-04-04 at 18:00 +0200, Alexander Kanavin wrote: > As ptest-runner communicates with child processes via pipe2(), > the corresponding channels are not attached to a pty. In that > situation stdio facilities like printf() or fwrite() are fully > buffered. If a ptest would use them,

Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-04 Thread Joshua Watt
On Thu, 2019-04-04 at 18:00 +0200, Alexander Kanavin wrote: > As ptest-runner communicates with child processes via pipe2(), > the corresponding channels are not attached to a pty. In that > situation stdio facilities like printf() or fwrite() are fully > buffered. If a ptest would use them,

Re: [yocto] [ptest-runner] Run ptests via stdbuf configured to line-buffering

2019-04-04 Thread Alexander Kanavin
Bah, sorry, debugging got into the patch. Will resend. Alex On Thu, 4 Apr 2019 at 17:34, Alexander Kanavin wrote: > > As ptest-runner communicates with child processes via pipe2(), > the corresponding channels are not attached to a pty. In that > situation stdio facilities like printf() or