Skip to content

Commit d5b90a7

Browse files
pyhyshenrikbrixandersen
authored andcommitted
samples: Allow compile-testing of RTC shields in samples/drivers/rtc
Create a testcase without "depends_on: rtc", to allow compile test the overlay files for shields. Signed-off-by: Jonas Berg <[email protected]>
1 parent 623d8fa commit d5b90a7

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

samples/drivers/rtc/sample.yaml

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
sample:
22
name: Real-Time Clock Sample
3+
common:
4+
tags:
5+
- samples
6+
- rtc
7+
- api
8+
harness: console
9+
harness_config:
10+
type: one_line
11+
regex:
12+
- "RTC date and time: 2024-11-17 04:19:01"
313
tests:
414
sample.drivers.rtc:
515
platform_allow:
616
- stm32f3_disco
717
- mimxrt700_evk/mimxrt798s/cm33_cpu0
818
- mimxrt700_evk/mimxrt798s/cm33_cpu1
9-
- adafruit_qt_py_rp2040/rp2040
1019
integration_platforms:
1120
- stm32f3_disco
12-
extra_args:
13-
- platform:adafruit_qt_py_rp2040/rp2040:SHIELD="sparkfun_rv8803"
14-
tags:
15-
- samples
16-
- rtc
17-
- api
1821
depends_on:
1922
- rtc
20-
harness: console
21-
harness_config:
22-
type: one_line
23-
regex:
24-
- "RTC date and time: 2024-11-17 04:19:01"
23+
sample.drivers.rtc.shields:
24+
platform_allow:
25+
- adafruit_qt_py_rp2040/rp2040
26+
integration_platforms:
27+
- adafruit_qt_py_rp2040/rp2040
28+
extra_args:
29+
- platform:adafruit_qt_py_rp2040/rp2040:SHIELD="sparkfun_rv8803"

0 commit comments

Comments
 (0)