]> git.ipfire.org Git - people/ms/u-boot.git/commit
test/py: dfu: allow boardenv to specify test sizes
authorStephen Warren <swarren@nvidia.com>
Thu, 28 Jan 2016 20:14:16 +0000 (13:14 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 29 Jan 2016 04:01:24 +0000 (21:01 -0700)
commit26db3a617b38cc1bed1ce100381d2c4ccbb55e42
treeb42c3c8f59f6b09ab8eb0158a1dc14d604244f57
parentdb261f0076109b79c813ff27b9ce30e2e9d05221
test/py: dfu: allow boardenv to specify test sizes

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@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_dfu.py