summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2022-07-07 12:59:42 +0200
committerMichal Simek <michal.simek@amd.com>2022-07-26 08:23:54 +0200
commit34b01c22ccd2cf55a85a05c8d542bab0523f76c0 (patch)
tree654f002af7a6561cd3885b824e81fd43cc3b7611 /test
parent2075215dd968b5488f87a59c4d3494a8b8c1460d (diff)
test/py: Run simple dm commands without checking
Just to make sure that dm commands can operate. This was the problem on Microblaze in past without fixing manual relocation. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Reviewed-by: Simon Glass <sjg@chromium.org> Link: https://lore.kernel.org/r/e6c4b8b44445c16cee84436627642ccc9886f507.1657191580.git.michal.simek@amd.com
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_dm.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/py/tests/test_dm.py b/test/py/tests/test_dm.py
index 97203b536e..ea93061fdf 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")