
On 22 January 2016 at 12:30, Stephen Warren swarren@wwwdotorg.org wrote:
From: Stephen Warren swarren@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@nvidia.com Acked-by: Lukasz Majewski l.majewski@samsung.com Acked-by: Simon Glass sjg@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!