tests: subsys: canbus: filter out tests if zephyr,canbus not enabled

- Filter out the CAN-BUS tests if no zephyr,canbus chosen node is
  enabled in the devicetree.
- Rename the tests to follow the general test naming scheme.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-02-23 16:26:25 +01:00 committed by Maureen Helm
parent 323a98cd34
commit 695722d787
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,5 @@
tests:
can.isotp.conformance:
subsys.canbus.isotp.conformance:
tags: can isotp
depends_on: can
filter: dt_chosen_enabled("zephyr,canbus")

View File

@ -1,4 +1,5 @@
tests:
can.isotp.implemmentation:
subsys.canbus.isotp.implementation:
tags: can isotp
depends_on: can
filter: dt_chosen_enabled("zephyr,canbus")