mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
ci(p4): disable p4 rev3 invalid tests temporarily
This commit is contained in:
@@ -12,6 +12,7 @@ from serial.tools.list_ports import comports
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='lack of runners with usb_device tag')
|
||||
@pytest.mark.usb_device
|
||||
@idf_parametrize('target', ['esp32s2', 'esp32s3', 'esp32p4'], indirect=['target'])
|
||||
@pytest.mark.temp_skip_ci(targets=['esp32p4'], reason='p4 rev3 migration # TODO: IDF-14369')
|
||||
def test_usb_device_serial_example(dut: Dut) -> None:
|
||||
dut.expect_exact('USB initialization DONE')
|
||||
sleep(2) # Some time for the OS to enumerate our USB device
|
||||
@@ -21,7 +22,7 @@ def test_usb_device_serial_example(dut: Dut) -> None:
|
||||
for port, _, hwid in ports:
|
||||
if '303A:4001' in hwid:
|
||||
with Serial(port) as s:
|
||||
s.write('text\r\n'.encode()) # Write dummy text to COM port
|
||||
s.write(b'text\r\n') # Write dummy text to COM port
|
||||
dut.expect_exact('Data from channel 0:') # Check ESP log
|
||||
dut.expect_exact('|text..|')
|
||||
res = s.readline() # Check COM echo
|
||||
|
||||
Reference in New Issue
Block a user