mirror of
https://github.com/micropython/micropython.git
synced 2025-12-16 09:50:15 +01:00
tests: Add basic wlan test.
Includes adding some ESP8266 port output to the ignored output list for the multitest runner. This test passes on ESP8266 and various ESP32s (including talking to each other). Without the fix in the parent commit, ESP32 AP will fail if the station can report its channel (i.e. channel is wrong). Testing with a CYW43 (RPI_PICO_W) currently fails but I have some fixes to submit so it can pass as well. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
committed by
Angus Gratton
parent
951a10e707
commit
0e383a31b9
@@ -105,15 +105,14 @@ instance{}()
|
||||
multitest.flush()
|
||||
"""
|
||||
|
||||
# The btstack implementation on Unix generates some spurious output that we
|
||||
# can't control. Also other platforms may output certain warnings/errors that
|
||||
# can be safely ignored.
|
||||
# Some ports generate output we can't control, and 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).
|
||||
"libusb: error ", # unix btstack 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.
|
||||
"USB Path: ", # Hardcoded in unix btstack's libusb transport.
|
||||
"hci_number_completed_packet", # Warning from unix btstack.
|
||||
"lld_pdu_get_tx_flush_nb HCI packet count mismatch (", # From ESP-IDF, see https://github.com/espressif/esp-idf/issues/5105
|
||||
" ets_task(", # ESP8266 port debug output
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user