[PATCH 3/6] binman: test: Capture output from tests with warnings
Quentin Schulz
quentin.schulz at cherry.de
Thu Feb 26 17:44:03 CET 2026
Hi Simon,
On 2/25/26 11:50 PM, Simon Glass wrote:
> From: Simon Glass <simon.glass at canonical.com>
>
> Tests are supposed to run silently and capture any output produced.
>
Fair enough. But how about making _DoTestFile() and other various
function calls actually eat stdout/stderr by default such that test
implementers don't have to remember doing that?
We can always return stderr, stdout to the caller of _DoTestFile() if we
wanted to be able to parse the output.
What do you think?
> Fix testRemoveTemplate() so that the message about the missing openssl
> is captured, along with the invalid-images message.
>
> Fix testNxpImx9Image() as well, since it is expected that container.img
> and bl31.bin are missing.
>
Tested-by: Quentin Schulz <quentin.schulz at cherry.de>
Thanks!
Quentin
More information about the U-Boot
mailing list