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

Simon Glass sjg at chromium.org
Fri Jan 29 05:02:38 CET 2016


On 28 January 2016 at 20:52, Simon Glass <sjg at chromium.org> wrote:
> 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>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list