diff options
| author | Heinrich Schuchardt <[email protected]> | 2025-11-28 07:46:47 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2026-01-08 15:12:59 +0100 |
| commit | 13c9c975e79b73626507702cc2117b7efa3abe9a (patch) | |
| tree | 4943f917ce54b51501aa10d9f12768ce1aaf7e25 /test | |
| parent | 141be72e2a9d43aa4e3d1a6a6e0ab8f9eb8784c6 (diff) | |
usb: xhci: avoid noisy 'Starting the controller' message.
We should avoid overwhelming users with non-essential messages.
The message 'Starting the controller' is not written for EHCI.
We should not write it for XHCI either.
Adjust the Python test accordingly.
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'test')
| -rw-r--r-- | test/py/tests/test_usb.py | 4 |
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 $?') |
