summaryrefslogtreecommitdiff
path: root/test/py/tests/test_dm.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-07-04 09:25:51 -0600
committerTom Rini <trini@konsulko.com>2024-07-04 09:25:51 -0600
commite24053d8fb42c909b470e33f19ac71fd718133ce (patch)
treeb69fd2a2ee983403d9ea52b928632dbac3eaff03 /test/py/tests/test_dm.py
parent0f073e022ddc5070e5df1d053e4bdc1874fbcc0f (diff)
parent4a8a54c3f4202482ec4f24a117afc38cf2c0c051 (diff)
Merge patch series "testb: Various tweaks and fixes for Labgrid"
Simon Glass <sjg@chromium.org> says: This series includes a number of mostly unrelated changes which are in service of running U-Boot on a lab using Labgrid.
Diffstat (limited to 'test/py/tests/test_dm.py')
-rw-r--r--test/py/tests/test_dm.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/py/tests/test_dm.py b/test/py/tests/test_dm.py
index 68d4ea12235..be94971e455 100644
--- a/test/py/tests/test_dm.py
+++ b/test/py/tests/test_dm.py
@@ -13,8 +13,11 @@ def test_dm_compat(u_boot_console):
for line in response[:-1].split('\n')[2:])
response = u_boot_console.run_command('dm compat')
+ bad_drivers = set()
for driver in drivers:
- assert driver in response
+ if not driver in response:
+ bad_drivers.add(driver)
+ assert not bad_drivers
# check sorting - output looks something like this:
# testacpi 0 [ ] testacpi_drv |-- acpi-test