[PATCH v2 07/11] binman: Avoid use of expected failure
Simon Glass
sjg at chromium.org
Sun Aug 21 02:10:30 CEST 2022
The testReplaceSectionSimple() test is the only one which expects failure.
It looks odd in the output and takes time to glance at it to see that all
is in fact well. Also it does not check that the right exception is
generated.
Use the more common (in binman) approach of checking for an exception.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
tools/binman/ftest.py | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list