From 2d26bf6c26b2507fb597b7d265efe7d61cb2d6b2 Mon Sep 17 00:00:00 2001 From: Stephen Warren Date: Mon, 18 Sep 2017 11:11:49 -0600 Subject: 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 --- test/py/tests/test_vboot.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/py/tests/test_vboot.py') diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py index 6e62820743..c4da79d114 100644 --- a/test/py/tests/test_vboot.py +++ b/test/py/tests/test_vboot.py @@ -31,6 +31,10 @@ import u_boot_utils as util @pytest.mark.boardspec('sandbox') @pytest.mark.buildconfigspec('fit_signature') +@pytest.mark.requiredtool('dtc') +@pytest.mark.requiredtool('fdtget') +@pytest.mark.requiredtool('fdtput') +@pytest.mark.requiredtool('openssl') def test_vboot(u_boot_console): """Test verified boot signing with mkimage and verification with 'bootm'. -- cgit