Skip to content

Commit b85e4f1

Browse files
PerMacfabiobaltieri
authored andcommitted
samples: sensors: Add test criteria
Verify the output according to the description of the sample. fixes: #84156 Signed-off-by: Maciej Perkowski <[email protected]>
1 parent 1ca895d commit b85e4f1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

samples/sensor/clock/sample.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

6+
common:
7+
harness: console
8+
harness_config:
9+
type: multi_line
10+
ordered: false
11+
regex:
12+
- "Cycles:.*"
13+
- "Nanoseconds:.*"
14+
615
tests:
716
sample.sensor.clock.counter:
817
filter: CONFIG_SENSOR_CLOCK_COUNTER

0 commit comments

Comments
 (0)