binman: Allow timeout to occur in the image or its section
authorSimon Glass <sjg@chromium.org>
Mon, 18 Oct 2021 18:13:15 +0000 (12:13 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Oct 2021 18:26:44 +0000 (12:26 -0600)
commitb2dfe8382d9dff1f06ac703e736c1633b09bfca2
treefc516aafbce07a878f094520e77d0a1b33d5032d
parent2289629f27f743003254d0a31ae9ed6175d1dd63
binman: Allow timeout to occur in the image or its section

At present testThreadTimeout() assumes that the expected timeout happens
first when building the section, but it can just as easily happen at the
top-level image. Update the test to cope with both.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
tools/binman/ftest.py