]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Avoid use of expected failure
authorSimon Glass <sjg@chromium.org>
Sat, 13 Aug 2022 17:40:46 +0000 (11:40 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 21 Aug 2022 00:07:32 +0000 (18:07 -0600)
commit73593e499cf33d22e04498d684a5aef29cea2a1e
tree0e57dc6beef14f15cbe91f49bf84469e96c43b19
parent1c65a54d6d683e9cc90c898f2e3d96210dcbeb7f
binman: Avoid use of expected failure

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@chromium.org>
tools/binman/ftest.py