test/py: add DFU test
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: NStephen Warren <swarren@nvidia.com> Acked-by: NLukasz Majewski <l.majewski@samsung.com> Acked-by: NSimon Glass <sjg@chromium.org>
Showing
test/dfu/README
已删除
100644 → 0
test/dfu/dfu_gadget_test.sh
已删除
100755 → 0
test/py/tests/test_dfu.py
0 → 100644
想要评论请 注册 或 登录