[U-Boot] [PATCH] test/py: dfu: allow boardenv to specify test sizes

Simon Glass sjg at chromium.org
Fri Jan 29 04:52:29 CET 2016


On 28 January 2016 at 13:14, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Allow the env__dfu_configs boardenv data to specify the set of DFU
> transfer sizes to test. Manually specifying test sizes is useful if you
> wish to test multiple DFU configurations (e.g. SD card ext4 filesystem, SD
> card whole raw partition, RAM, etc.), but don't want to test every
> single transfer size on each, to avoid bloating the overall time taken by
> testing. If the boardenv doesn't specify a set of sizes, the built-in list
> is used as a default, preserving backwards-compatibility.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
>  test/py/tests/test_dfu.py | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list