diff options
author | Stephen Warren <swarren@nvidia.com> | 2017-09-18 11:11:49 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-29 14:07:53 -0400 |
commit | 2d26bf6c26b2507fb597b7d265efe7d61cb2d6b2 (patch) | |
tree | 4ce93257bc7ab934258a5c393bdb74aa5169538b /test/py/tests/test_dfu.py | |
parent | d5170448ae79581af973f447ba6077118999c963 (diff) | |
download | u-boot-2d26bf6c26b2507fb597b7d265efe7d61cb2d6b2.tar.gz |
test/py: add skip marker for reliance on tools
Some tests use external tools (executables) during their operation. Add
a test.py mark to indicate this. This allows those tests to be skipped if
the required tool is not present.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test/py/tests/test_dfu.py')
-rw-r--r-- | test/py/tests/test_dfu.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/tests/test_dfu.py b/test/py/tests/test_dfu.py index fba67d585b..8f6877c5c2 100644 --- a/test/py/tests/test_dfu.py +++ b/test/py/tests/test_dfu.py @@ -113,6 +113,7 @@ test_sizes_default = ( first_usb_dev_port = None @pytest.mark.buildconfigspec('cmd_dfu') +@pytest.mark.requiredtool('dfu-util') def test_dfu(u_boot_console, env__usb_dev_port, env__dfu_config): """Test the "dfu" command; the host system must be able to enumerate a USB device when "dfu" is running, various DFU transfers are tested, and the |