ci(p4): disable p4 rev3 invalid tests temporarily
This commit is contained in:
+2
-1
@@ -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_composite_device_serial_example(dut: Dut) -> None:
|
||||
dut.expect_exact('Hello World!')
|
||||
dut.expect_exact('USB Composite initialization')
|
||||
@@ -23,7 +24,7 @@ def test_usb_composite_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
|
||||
|
||||
@@ -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_console_example(dut: Dut) -> None:
|
||||
dut.expect_exact('USB initialization DONE')
|
||||
dut.expect_exact('example: log -> UART')
|
||||
|
||||
@@ -8,6 +8,7 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
@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_hid_example(dut: Dut) -> None:
|
||||
dut.expect_exact('USB initialization DONE')
|
||||
dut.expect_exact('Sending Keyboard report')
|
||||
|
||||
@@ -8,6 +8,7 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
@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_midi_example(dut: Dut) -> None:
|
||||
dut.expect_exact('USB initialization DONE')
|
||||
dut.expect_exact('MIDI write task init')
|
||||
|
||||
@@ -8,6 +8,7 @@ from pytest_embedded_idf.utils import idf_parametrize
|
||||
@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_msc_example(dut: Dut) -> None:
|
||||
dut.expect('Mount storage')
|
||||
dut.expect('TinyUSB Driver installed')
|
||||
|
||||
@@ -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