aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-06-18 19:04:25 -0400
committerTom Rini <trini@konsulko.com>2018-06-19 11:55:06 -0400
commit4e899d868d68de5faf3cd3091f052d7a4c3a7f38 (patch)
tree211ec187bb30e7f0ee76ec50dd31e9c05f343482 /test
parent897a1d947e7e50cf03113dcbe505ffb63dce45a9 (diff)
downloadu-boot-4e899d868d68de5faf3cd3091f052d7a4c3a7f38.zip
u-boot-4e899d868d68de5faf3cd3091f052d7a4c3a7f38.tar.gz
u-boot-4e899d868d68de5faf3cd3091f052d7a4c3a7f38.tar.bz2
test_avb: Add pymark.buildconfigspec information for the AVB tests
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_avb.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/py/tests/test_avb.py b/test/py/tests/test_avb.py
index 770bdde..7996e48 100644
--- a/test/py/tests/test_avb.py
+++ b/test/py/tests/test_avb.py
@@ -23,6 +23,7 @@ mmc_dev = 1
temp_addr = 0x90000000
temp_addr2 = 0x90002000
+@pytest.mark.buildconfigspec('cmd_avb')
def test_avb_verify(u_boot_console):
"""Run AVB 2.0 boot verification chain with avb subset of commands
"""
@@ -35,6 +36,7 @@ def test_avb_verify(u_boot_console):
assert response.find(success_str)
+@pytest.mark.buildconfigspec('cmd_avb')
def test_avb_mmc_uuid(u_boot_console):
"""Check if 'avb get_uuid' works, compare results with
'part list mmc 1' output
@@ -67,6 +69,7 @@ def test_avb_mmc_uuid(u_boot_console):
assert guid == avb_guid_resp.split("UUID: ")[1]
+@pytest.mark.buildconfigspec('cmd_avb')
def test_avb_read_rb(u_boot_console):
"""Test reading rollback indexes
"""
@@ -77,6 +80,7 @@ def test_avb_read_rb(u_boot_console):
response = u_boot_console.run_command('avb read_rb 1')
+@pytest.mark.buildconfigspec('cmd_avb')
def test_avb_is_unlocked(u_boot_console):
"""Test if device is in the unlocked state
"""
@@ -87,6 +91,7 @@ def test_avb_is_unlocked(u_boot_console):
response = u_boot_console.run_command('avb is_unlocked')
+@pytest.mark.buildconfigspec('cmd_avb')
def test_avb_mmc_read(u_boot_console):
"""Test mmc read operation
"""