Skip to content

Commit

Permalink
tests/run-multitests.py: Ignore lld_pdu_get_tx_flush_nb msgs from IDF.
Browse files Browse the repository at this point in the history
BLE still functions correctly even though these messages are sometimes
printed by the IDF.  Ignoring them allows the multi_bluetooth tests to pass
on an esp32 board.

Signed-off-by: Damien George <damien@micropython.org>
  • Loading branch information
dpgeorge committed Jan 17, 2022
1 parent da4b38e commit 5df1d8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/run-multitests.py
Expand Up @@ -76,12 +76,14 @@ def get_network_ip():
"""

# The btstack implementation on Unix generates some spurious output that we
# can't control.
# can't control. Also other platforms may output certain warnings/errors that
# can be safely ignored.
IGNORE_OUTPUT_MATCHES = (
"libusb: error ", # It tries to open devices that it doesn't have access to (libusb prints unconditionally).
"hci_transport_h2_libusb.c", # Same issue. We enable LOG_ERROR in btstack.
"USB Path: ", # Hardcoded in btstack's libusb transport.
"hci_number_completed_packet", # Warning from btstack.
"lld_pdu_get_tx_flush_nb HCI packet count mismatch (", # From ESP-IDF, see https://github.com/espressif/esp-idf/issues/5105
)


Expand Down

0 comments on commit 5df1d8b

Please sign in to comment.