[U-Boot] [U-Boot, v3] test/py: Support setting up specific timeout

Tom Rini trini at konsulko.com
Mon May 30 20:00:18 CEST 2016


On Thu, May 19, 2016 at 07:57:41AM +0200, Michal Simek wrote:

> 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 at xilinx.com>
> Reviewed-by: Stephen Warren <swarren at nvidia.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160530/9875f76c/attachment.sig>


More information about the U-Boot mailing list