diff --git a/samples/sensor/clock/sample.yaml b/samples/sensor/clock/sample.yaml index 08ee185c212..0f4b1e05c79 100644 --- a/samples/sensor/clock/sample.yaml +++ b/samples/sensor/clock/sample.yaml @@ -3,6 +3,15 @@ # # SPDX-License-Identifier: Apache-2.0 +common: + harness: console + harness_config: + type: multi_line + ordered: false + regex: + - "Cycles:.*" + - "Nanoseconds:.*" + tests: sample.sensor.clock.counter: filter: CONFIG_SENSOR_CLOCK_COUNTER