Skip to content

Commit a797006

Browse files
jfischer-nonashif
authored andcommitted
tests: drivers: udc: add build_only test case
nRF54H20 USB device controller cannot be enabled without VBUS, but the device should not be connected to the host during testing. Add it to build_only section. Signed-off-by: Johann Fischer <[email protected]>
1 parent ef51230 commit a797006

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/drivers/udc/testcase.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ tests:
77
depends_on: usbd
88
integration_platforms:
99
- nrf52840dk/nrf52840
10+
platform_exclude:
11+
- nrf54h20dk/nrf54h20/cpuapp
12+
drivers.usb.udc.build_only:
13+
build_only: true
14+
# Platform excluded above, only to build, with justification.
15+
platform_allow:
16+
# The controller cannot be enabled without VBUS, but the device should
17+
# not be connected to the host during testing.
18+
- nrf54h20dk/nrf54h20/cpuapp
1019
drivers.usb.udc.skeleton:
1120
extra_args:
1221
- EXTRA_DTC_OVERLAY_FILE="udc_skeleton.overlay"

0 commit comments

Comments
 (0)