buildman: Use an iterator to check test output
authorSimon Glass <sjg@chromium.org>
Thu, 9 Apr 2020 21:08:30 +0000 (15:08 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Apr 2020 12:33:47 +0000 (06:33 -0600)
commitc3bc4f1fca360648894593cd02386456f7047069
tree1ee660df8cd21d8994dbe87aeceef5f70793d711
parent3c339bbd4c28a7703bacddf278ff8213e919f466
buildman: Use an iterator to check test output

Rather than using the absolute array index, use an interator to work
through the expected output lines. This is easier to follow.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/test.py