Skip to content

Commit a3a5d46

Browse files
committed
tests: bridge: Ignore flashing error
Signed-off-by: Jorgen Kvalvaag <[email protected]>
1 parent 59ddb41 commit a3a5d46

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/on_target/tests/test_bridge/test_serial_dfu.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ def test_02_setup_nrf91():
8888
setup nrf91, flash bootloader only
8989
"""
9090
wait_until_uart_available(CONN_BRIDGE_SERIAL)
91-
pyocd_flash_device(serial=CONN_BRIDGE_SERIAL, hexfile=NRF91_BOOTLOADER)
91+
try:
92+
pyocd_flash_device(serial=CONN_BRIDGE_SERIAL, hexfile=NRF91_BOOTLOADER)
93+
except Exception as e:
94+
logger.error(f"Error flashing bootloader: {e}")
9295

9396

9497
def test_03_dfu_app_nrf91():

0 commit comments

Comments
 (0)