u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: <u-boot@lists.denx.de>, <git@xilinx.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Subject: [PATCH] test/py: Run simple dm commands without checking
Date: Thu, 7 Jul 2022 12:59:42 +0200	[thread overview]
Message-ID: <e6c4b8b44445c16cee84436627642ccc9886f507.1657191580.git.michal.simek@amd.com> (raw)

From: Michal Simek <michal.simek@xilinx.com>

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>
---

 test/py/tests/test_dm.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/test/py/tests/test_dm.py b/test/py/tests/test_dm.py
index 97203b536e17..ea93061fdfa8 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")
-- 
2.36.1


             reply	other threads:[~2022-07-07 10:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-07 10:59 Michal Simek [this message]
2022-07-12 10:58 ` [PATCH] test/py: Run simple dm commands without checking Simon Glass
2022-07-12 11:21   ` Michal Simek
2022-07-15  7:59 ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6c4b8b44445c16cee84436627642ccc9886f507.1657191580.git.michal.simek@amd.com \
    --to=michal.simek@amd.com \
    --cc=git@xilinx.com \
    --cc=michal.simek@xilinx.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).