]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/runCmd: print stderr when that is a separate stream
authorAlexander Kanavin <alex@linutronix.de>
Fri, 1 Nov 2024 09:15:53 +0000 (10:15 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Nov 2024 23:03:10 +0000 (23:03 +0000)
commit72c747b37ccdd486ddae06e3d0a99fb2b93643ba
treec9b9b6c2bdb47c03945a48781cffad43c06a02b5
parent9107d9c09c7dab385c6034778cefadca3613be9c
oeqa/runCmd: print stderr when that is a separate stream

runCmd by default merges stderr into stdout, and only
needs to print stdout when errors occur. When stderr
is requested as a separate stream, and an error occurs,
stderr is discarded, obscuring useful error messages.
This changes the output to include both streams.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/commands.py