[OE-core] [PATCH 1/2] commands: send stderr to a new pipe

Leonardo Sandoval leonardo.sandoval.gonzalez at linux.intel.com
Thu Jun 22 14:58:42 UTC 2017


On Thu, 2017-06-22 at 16:17 +0200, Patrick Ohly wrote:
> On Mon, 2017-06-19 at 07:39 -0700,
> leonardo.sandoval.gonzalez at linux.intel.com wrote:
> > From: Leonardo Sandoval <leonardo.sandoval.gonzalez at linux.intel.com>
> > 
> > Do not mix the stderr into stdout, allowing test cases to query
> > the specific output.
> 
> This changes the behavior of functions that are also used outside of
> OE-core in a way that won't be easy to notice. I also don't think that
> it is the right default. For example, for bitbake it is easier to
> understand where an error occurred when stderr goes to the same stream
> as stdout.

how would that make it easier?

> 
> Can't you keep the current semantic and just override it explicitly in
> those tests that need separate stdout/stderr?
> 

My proposed patch was mainly based on a RP's comment [1], suggesting to
split std[out|err].


[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=9693#c2







More information about the Openembedded-core mailing list