samples: canbus: canopen: add test case with program download support

Add a test case for building with program download support enabled.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2020-06-07 13:32:29 +02:00 committed by Anas Nashif
parent ef3c5e5516
commit fea4774e72

View file

@ -1,12 +1,17 @@
sample:
name: CANopen sample
common:
tags: can canopen
depends_on: can
platform_whitelist: twr_ke18f frdm_k64f
harness: console
harness_config:
type: one_line
regex:
- "(.*)CANopen stack initialized"
tests:
sample.subsys.canbus.canopen:
tags: CAN
depends_on: can
platform_whitelist: twr_ke18f frdm_k64f
harness: console
harness_config:
type: one_line
regex:
- "(.*)CANopen stack initialized"
tags: introduction
sample.subsys.canbus.canopen.program_download:
extra_configs:
- CONFIG_BOOTLOADER_MCUBOOT=y