Revisión | 34b01c22ccd2cf55a85a05c8d542bab0523f76c0 (tree) |
---|---|
Tiempo | 2022-07-26 15:23:54 |
Autor | Michal Simek <michal.simek@xili...> |
Commiter | Michal Simek |
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
@@ -33,3 +33,11 @@ def test_dm_static(u_boot_console): | ||
33 | 33 | response = u_boot_console.run_command('dm drivers') |
34 | 34 | for driver in drivers: |
35 | 35 | 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") |