Skip to content
Snippets Groups Projects
Commit c7f636f5 authored by Simon Glass's avatar Simon Glass
Browse files

test/py: Note which console produced unexpected output


At present the SPL and U-Boot consoles both present the same error message
when the expected console output does not appear. Add "SPL" to the SPL error
message to resolve this ambiguity.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 2fedbaa4
No related branches found
No related tags found
No related merge requests found
......@@ -329,7 +329,7 @@ class ConsoleBase(object):
m = self.p.expect([pattern_u_boot_spl_signon] +
self.bad_patterns)
if m != 0:
raise Exception('Bad pattern found on console: ' +
raise Exception('Bad pattern found on SPL console: ' +
self.bad_pattern_ids[m - 1])
m = self.p.expect([pattern_u_boot_main_signon] + self.bad_patterns)
if m != 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment