Skip to content

Commit 32a4202

Browse files
committed
samples: zephyr: subsys: mgmt: mcumgr: smp_svr: add basic console check
Enable automated testing with twister. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 43ba071 commit 32a4202

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

samples/zephyr/subsys/mgmt/mcumgr/smp_svr/sample.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@ sample:
33
name: smp svr
44
common:
55
sysbuild: true
6-
build_only: true
6+
harness: console
7+
harness_config:
8+
type: multi_line
9+
ordered: true
10+
regex:
11+
- "Starting bootloader"
12+
- "Jumping to the first image slot"
13+
- "smp_bt_sample: Advertising successfully started"
14+
timeout: 15
715
tags:
816
- ci_samples_zephyr_subsys_mgmt_mcumgr_smp_svr
917

@@ -17,7 +25,6 @@ tests:
1725
integration_platforms:
1826
- nrf5340dk/nrf5340/cpuapp
1927
sample.mcumgr.smp_svr.bt.nrf54l15:
20-
harness: bluetooth
2128
tags: bluetooth
2229
extra_args: EXTRA_CONF_FILE="overlay-bt.conf"
2330
platform_allow:

0 commit comments

Comments
 (0)