[U-Boot] [PATCH V2 8/8] test/py: add DFU test
Simon Glass
sjg at chromium.org
Fri Jan 22 21:14:57 CET 2016
On 22 January 2016 at 12:30, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Add a test of DFU functionality to the Python test suite. The test
> starts DFU in U-Boot, waits for USB device enumeration on the host,
> executes dfu-util multiple times to test various transfer sizes, many
> of which trigger USB driver edge cases, and finally aborts the DFU
> command in U-Boot.
>
> This test mirrors the functionality previously available via the shell
> scripts in test/dfu, and hence those are removed too.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> Acked-by: Lukasz Majewski <l.majewski at samsung.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> ---
> v2: Fix file comment to refer to "dfu" not "ums", and be generally more
> descriptive.
> ---
> test/dfu/README | 44 -------
> test/dfu/dfu_gadget_test.sh | 108 ----------------
> test/dfu/dfu_gadget_test_init.sh | 45 -------
> test/py/tests/test_dfu.py | 262 +++++++++++++++++++++++++++++++++++++++
> 4 files changed, 262 insertions(+), 197 deletions(-)
> delete mode 100644 test/dfu/README
> delete mode 100755 test/dfu/dfu_gadget_test.sh
> delete mode 100755 test/dfu/dfu_gadget_test_init.sh
> create mode 100644 test/py/tests/test_dfu.py
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list