zephyr/samples/net/sockets/can/sample.yaml
Henrik Brix Andersen cc394e073d samples: can: filter out tests if zephyr,canbus not enabled
- 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>
2022-02-24 07:12:54 -06:00

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