Skip to content

Commit 70ff700

Browse files
Merge branch 'ci/usb_device_enable_p4_tests' into 'master'
ci(usb_device): Enable USB device tests in CI for esp32p4 See merge request espressif/esp-idf!33287
2 parents 80eee82 + 67a8480 commit 70ff700

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

examples/peripherals/.build-test-rules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ examples/peripherals/usb/device:
468468
disable:
469469
- if: SOC_USB_OTG_SUPPORTED != 1
470470
disable_test:
471-
- if: IDF_TARGET not in ["esp32s2"]
471+
- if: IDF_TARGET not in ["esp32s2", "esp32p4"]
472472
temporary: true
473473
reason: lack of runners with usb_device tag
474474
depends_components:

examples/peripherals/usb/device/tusb_composite_msc_serialdevice/pytest_usb_device_composite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@pytest.mark.esp32s2
1212
@pytest.mark.esp32s3
1313
@pytest.mark.esp32p4
14-
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='lack of runners with usb_device tag')
14+
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='lack of runners with usb_device tag')
1515
@pytest.mark.usb_device
1616
def test_usb_composite_device_serial_example(dut: Dut) -> None:
1717
dut.expect_exact('Hello World!')

examples/peripherals/usb/device/tusb_console/pytest_usb_device_console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@pytest.mark.esp32s2
1212
@pytest.mark.esp32s3
1313
@pytest.mark.esp32p4
14-
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='lack of runners with usb_device tag')
14+
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='lack of runners with usb_device tag')
1515
@pytest.mark.usb_device
1616
def test_usb_device_console_example(dut: Dut) -> None:
1717
dut.expect_exact('USB initialization DONE')

examples/peripherals/usb/device/tusb_hid/pytest_usb_device_hid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.esp32s2
88
@pytest.mark.esp32s3
99
@pytest.mark.esp32p4
10-
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='lack of runners with usb_device tag')
10+
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='lack of runners with usb_device tag')
1111
@pytest.mark.usb_device
1212
def test_usb_device_hid_example(dut: Dut) -> None:
1313
dut.expect_exact('USB initialization DONE')

examples/peripherals/usb/device/tusb_midi/pytest_usb_device_midi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.esp32s2
88
@pytest.mark.esp32s3
99
@pytest.mark.esp32p4
10-
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='lack of runners with usb_device tag')
10+
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='lack of runners with usb_device tag')
1111
@pytest.mark.usb_device
1212
def test_usb_device_midi_example(dut: Dut) -> None:
1313
dut.expect_exact('USB initialization DONE')

examples/peripherals/usb/device/tusb_msc/pytest_usb_device_msc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
@pytest.mark.esp32s2
88
@pytest.mark.esp32s3
99
@pytest.mark.esp32p4
10-
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='lack of runners with usb_device tag')
10+
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='lack of runners with usb_device tag')
1111
@pytest.mark.usb_device
1212
def test_usb_device_msc_example(dut: Dut) -> None:
1313
dut.expect('Mount storage')

examples/peripherals/usb/device/tusb_serial_device/pytest_usb_device_serial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@pytest.mark.esp32s2
1212
@pytest.mark.esp32s3
1313
@pytest.mark.esp32p4
14-
@pytest.mark.temp_skip_ci(targets=['esp32s3', 'esp32p4'], reason='lack of runners with usb_device tag')
14+
@pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='lack of runners with usb_device tag')
1515
@pytest.mark.usb_device
1616
def test_usb_device_serial_example(dut: Dut) -> None:
1717
dut.expect_exact('USB initialization DONE')

0 commit comments

Comments
 (0)