diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-01-27 23:57:49 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-01-28 21:01:24 -0700 |
commit | 0c6189b5d60a2b0fcec65f3513bad7eee289da3f (patch) | |
tree | 85362f09000df53430d79f9ce88b131e9ac32be0 /test/py/multiplexed_log.py | |
parent | e4119ebb6dabf9bc84914b648f81c2f1b8fe76e1 (diff) | |
download | u-boot-imx-0c6189b5d60a2b0fcec65f3513bad7eee289da3f.zip u-boot-imx-0c6189b5d60a2b0fcec65f3513bad7eee289da3f.tar.gz u-boot-imx-0c6189b5d60a2b0fcec65f3513bad7eee289da3f.tar.bz2 |
test/py: check for bad patterns everywhere we wait
Currently, bad patterns are only honored when executing a shell command.
Other cases, such as the initial boot-up of U-Boot or when interacting
with command output rather than gathering all output prior to the shell
prompt, do not currently look for bad patterns in console output. This
patch makes sure that bad patterns are honored everywhere.
One benefit of this change is that if U-Boot sandbox fails to start up,
the error message it emits can be caught immediately, rather than relying
on a (long) timeout when waiting for the expected signon message and/or
command prompt.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/multiplexed_log.py')
0 files changed, 0 insertions, 0 deletions