diff options
author | Michal Simek <michal.simek@xilinx.com> | 2016-05-19 05:57:41 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 19:39:57 (GMT) |
commit | 87861c1970d9e1c475e62304b8e249aa3edf8c39 (patch) | |
tree | 8e1448aa00010d120c79c42fcc305ed5661bbf53 /cmd/cache.c | |
parent | c9cfac5d3023e9b2993578400fbc7f03aa6919af (diff) | |
download | u-boot-87861c1970d9e1c475e62304b8e249aa3edf8c39.tar.xz |
test/py: Support setting up specific timeout
Large file transfers, flash erasing and more complicated tests
requires more time to finish. Provide a way to setup specific
timeout directly in test.
For example description for 50s test:
timeout = 50000
with u_boot_console.temporary_timeout(timeout):
u_boot_console.run_command(...)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'cmd/cache.c')
0 files changed, 0 insertions, 0 deletions