summaryrefslogtreecommitdiff
path: root/test/py/tests/test_fit.py
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2017-09-18 11:11:49 -0600
committerTom Rini <trini@konsulko.com>2017-09-29 14:07:53 -0400
commit2d26bf6c26b2507fb597b7d265efe7d61cb2d6b2 (patch)
tree4ce93257bc7ab934258a5c393bdb74aa5169538b /test/py/tests/test_fit.py
parentd5170448ae79581af973f447ba6077118999c963 (diff)
downloadu-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_fit.py')
-rwxr-xr-xtest/py/tests/test_fit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/tests/test_fit.py b/test/py/tests/test_fit.py
index 7e6b96dae4..4b32bb18b8 100755
--- a/test/py/tests/test_fit.py
+++ b/test/py/tests/test_fit.py
@@ -111,6 +111,7 @@ sb save hostfs 0 %(loadables2_addr)x %(loadables2_out)s %(loadables2_size)x
@pytest.mark.boardspec('sandbox')
@pytest.mark.buildconfigspec('fit_signature')
+@pytest.mark.requiredtool('dtc')
def test_fit(u_boot_console):
def make_fname(leaf):
"""Make a temporary filename