Skip to content

Commit 9df6790

Browse files
nordic-piksfabiobaltieri
authored andcommitted
samples: sensor: light_polling: fix running with twister
- use harness console (instead of default ztest) - use platform_allow to limit build execution scope (actually, there is also shield needed) Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent eb0d006 commit 9df6790

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

samples/sensor/light_polling/sample.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,21 @@ tests:
1616
harness: grove
1717
depends_on: adc
1818
sample.sensor.light_polling:
19+
harness: console
20+
harness_config:
21+
type: one_line
22+
regex:
23+
- "lux:"
1924
tags:
2025
- drivers
2126
- sensor
2227
- light
2328
integration_platforms:
29+
- frdm_mcxw71/mcxw716c
30+
- adafruit_qt_py_rp2040/rp2040
31+
- mikroe_clicker_ra4m1/r7fa4m1ab3cfm
32+
- mikroe_quail/stm32f427xx
33+
platform_allow:
2434
- frdm_mcxw71/mcxw716c
2535
- adafruit_qt_py_rp2040/rp2040 # adafruit_tsl2591 shield
2636
- mikroe_clicker_ra4m1/r7fa4m1ab3cfm # mikroe_ambient_2_click shield

0 commit comments

Comments
 (0)