tests/run-multitests.py: Ignore lld_pdu_get_tx_flush_nb msgs from IDF.

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>
This commit is contained in:
Damien George 2022-01-17 14:23:24 +11:00
parent da4b38e756
commit 5df1d8be6c

View File

@ -76,12 +76,14 @@ multitest.flush()
"""
# 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
)