diff options
Diffstat (limited to 'test/py')
-rw-r--r-- | test/py/tests/test_bind.py | 3 | ||||
-rw-r--r-- | test/py/tests/test_dm.py | 8 |
2 files changed, 10 insertions, 1 deletions
diff --git a/test/py/tests/test_bind.py b/test/py/tests/test_bind.py index d7e6626..c90c54d 100644 --- a/test/py/tests/test_bind.py +++ b/test/py/tests/test_bind.py @@ -25,7 +25,7 @@ def in_tree(response, name, uclass, drv, depth, last_child): return True return False - +@pytest.mark.boardspec('sandbox') @pytest.mark.buildconfigspec('cmd_bind') def test_bind_unbind_with_node(u_boot_console): @@ -117,6 +117,7 @@ def get_next_line(tree, name): break return child_line +@pytest.mark.boardspec('sandbox') @pytest.mark.buildconfigspec('cmd_bind') def test_bind_unbind_with_uclass(u_boot_console): #bind /bind-test diff --git a/test/py/tests/test_dm.py b/test/py/tests/test_dm.py index 97203b5..ea93061 100644 --- a/test/py/tests/test_dm.py +++ b/test/py/tests/test_dm.py @@ -33,3 +33,11 @@ def test_dm_static(u_boot_console): response = u_boot_console.run_command('dm drivers') for driver in drivers: assert driver in response + +@pytest.mark.buildconfigspec("cmd_dm") +def test_dm_uclass(u_boot_console): + response = u_boot_console.run_command("dm uclass") + +@pytest.mark.buildconfigspec("cmd_dm") +def test_dm_devres(u_boot_console): + response = u_boot_console.run_command("dm devres") |