samples: sensors: Add test criteria
Verify the output according to the description of the sample. fixes: #84156 Signed-off-by: Maciej Perkowski <maciej.perkowski@nordicsemi.no>
This commit is contained in:
parent
1ca895dc0e
commit
b85e4f1b00
1 changed files with 9 additions and 0 deletions
|
@ -3,6 +3,15 @@
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
common:
|
||||||
|
harness: console
|
||||||
|
harness_config:
|
||||||
|
type: multi_line
|
||||||
|
ordered: false
|
||||||
|
regex:
|
||||||
|
- "Cycles:.*"
|
||||||
|
- "Nanoseconds:.*"
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
sample.sensor.clock.counter:
|
sample.sensor.clock.counter:
|
||||||
filter: CONFIG_SENSOR_CLOCK_COUNTER
|
filter: CONFIG_SENSOR_CLOCK_COUNTER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue