summaryrefslogtreecommitdiff
path: root/tests/run-multitests.py
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2024-11-13 17:40:02 +1100
committerAngus Gratton <gus@projectgus.com>2024-11-28 15:39:06 +1100
commit0e383a31b9560334b0c8d26b378deccc1c6af961 (patch)
tree8ad836a8f2298f33a77e423d80b19433d14aa82a /tests/run-multitests.py
parent951a10e7078413d2dee2758fc2b7cb292e2b50b7 (diff)
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>
Diffstat (limited to 'tests/run-multitests.py')
-rwxr-xr-xtests/run-multitests.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/run-multitests.py b/tests/run-multitests.py
index 93a6d3844..387eec701 100755
--- a/tests/run-multitests.py
+++ b/tests/run-multitests.py
@@ -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
)