• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión34b01c22ccd2cf55a85a05c8d542bab0523f76c0 (tree)
Tiempo2022-07-26 15:23:54
AutorMichal Simek <michal.simek@xili...>
CommiterMichal Simek

Log Message

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

Cambiar Resumen

Diferencia incremental

--- 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):
3333 response = u_boot_console.run_command('dm drivers')
3434 for driver in drivers:
3535 assert driver in response
36+
37+@pytest.mark.buildconfigspec("cmd_dm")
38+def test_dm_uclass(u_boot_console):
39+ response = u_boot_console.run_command("dm uclass")
40+
41+@pytest.mark.buildconfigspec("cmd_dm")
42+def test_dm_devres(u_boot_console):
43+ response = u_boot_console.run_command("dm devres")