diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 17:58:38 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-15 02:40:24 (GMT) |
commit | c7f636f59d7d506b89d7fc52aa6509329e9ded1b (patch) | |
tree | 42bb0f931951869a7cee9bb56d0150eb06de5268 | |
parent | 2fedbaa4aea4f781863c9b11879ae4d43149c447 (diff) | |
download | u-boot-c7f636f59d7d506b89d7fc52aa6509329e9ded1b.tar.xz |
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: Simon Glass <sjg@chromium.org>
-rw-r--r-- | test/py/u_boot_console_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/u_boot_console_base.py b/test/py/u_boot_console_base.py index 815fa64..2dcb289 100644 --- a/test/py/u_boot_console_base.py +++ b/test/py/u_boot_console_base.py @@ -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: |