summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_usb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/tests/test_usb.py b/test/py/tests/test_usb.py
index 1dcd0834f55..9226d1c174d 100644
--- a/test/py/tests/test_usb.py
+++ b/test/py/tests/test_usb.py
@@ -58,7 +58,7 @@ def test_usb_start(ubman):
assert 'USB init failed' not in output
assert 'starting USB...' in output
- if 'Starting the controller' in output:
+ if ubman.config.buildconfig.get('config_usb_xhci_hcd'):
assert 'USB XHCI' in output
output = ubman.run_command('echo $?')
@@ -104,7 +104,7 @@ def test_usb_reset(ubman):
assert 'USB init failed' not in output
assert 'resetting USB...' in output
- if 'Starting the controller' in output:
+ if ubman.config.buildconfig.get('config_usb_xhci_hcd'):
assert 'USB XHCI' in output
output = ubman.run_command('echo $?')