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:Stephen Warren <swarren@nvidia.com> Acked-by:
Lukasz Majewski <l.majewski@samsung.com> Acked-by:
Simon Glass <sjg@chromium.org>
Showing
- test/dfu/README 0 additions, 44 deletionstest/dfu/README
- test/dfu/dfu_gadget_test.sh 0 additions, 108 deletionstest/dfu/dfu_gadget_test.sh
- test/dfu/dfu_gadget_test_init.sh 0 additions, 45 deletionstest/dfu/dfu_gadget_test_init.sh
- test/py/tests/test_dfu.py 262 additions, 0 deletionstest/py/tests/test_dfu.py
Loading
Please register or sign in to comment