- Filter out the remaining CAN tests if no zephyr,canbus chosen node is enabled in the devicetree. - Rename the tests to shorten the name a bit. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
15 lines
348 B
YAML
15 lines
348 B
YAML
sample:
|
|
name: SocketCAN sample
|
|
common:
|
|
tags: net socket can
|
|
filter: dt_chosen_enabled("zephyr,canbus")
|
|
depends_on: can
|
|
harness: can
|
|
tests:
|
|
sample.net.sockets.can.one_socket:
|
|
extra_configs:
|
|
- CONFIG_NET_SOCKETS_CAN_RECEIVERS=1
|
|
sample.net.sockets.can.two_sockets:
|
|
extra_configs:
|
|
- CONFIG_NET_SOCKETS_CAN_RECEIVERS=2
|