Skip to content

Commit 49a2e22

Browse files
jfischer-noanangl
authored andcommitted
[nrf fromtree] tests: udc: rework driver test configuration
Distinguish between test case dependencies where a board has a test feature "usbd" and where no dependency is required other than the devicetree overlay file, as here to build the UDC skeleton driver. Signed-off-by: Johann Fischer <[email protected]> (cherry picked from commit 1695eed)
1 parent ae86637 commit 49a2e22

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

tests/drivers/udc/boards/native_sim_native_64.conf

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/drivers/udc/testcase.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
1+
common:
2+
tags:
3+
- usb
4+
- drivers
15
tests:
26
drivers.usb.udc:
3-
tags:
4-
- usb
5-
- drivers
6-
platform_allow:
7+
depends_on: usbd
8+
integration_platforms:
79
- nrf52840dk/nrf52840
10+
drivers.usb.udc.skeleton:
11+
extra_args:
12+
- EXTRA_DTC_OVERLAY_FILE="udc_skeleton.overlay"
13+
- CONFIG_UDC_BUF_POOL_SIZE=32768
14+
platform_allow:
815
- native_sim/native/64

0 commit comments

Comments
 (0)