samples: lora: Add harnesses for execution with twister

Lora samples are missing harnesses and hence are reported
failed by default by twister.
Add required harnesses to be able to detect correct and faulty
test executions.

Fixes #42159

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2022-01-26 10:06:15 +01:00 committed by Anas Nashif
parent faa89c779c
commit fa16f8654a
3 changed files with 15 additions and 0 deletions

View file

@ -6,3 +6,8 @@ sample:
tests:
sample.driver.lora.receive:
platform_allow: 96b_wistrio rak4631_nrf52840 nucleo_wl55jc
harness: console
harness_config:
type: one_line
regex:
- "<inf> lora_receive: Synchronous reception"

View file

@ -6,3 +6,8 @@ sample:
tests:
sample.driver.lora.send:
platform_allow: 96b_wistrio rak4631_nrf52840 nucleo_wl55jc
harness: console
harness_config:
type: one_line
regex:
- "<inf> lora_send: Data sent!"

View file

@ -6,3 +6,8 @@ sample:
tests:
samples.lorawan.class_a:
platform_allow: 96b_wistrio nucleo_wl55jc
harness: console
harness_config:
type: one_line
regex:
- "<inf> lorawan_class_a: Joining network over OTAA"