@@ -4,36 +4,102 @@ common:
4
4
tags : power
5
5
tests :
6
6
sample.boards.nrf.system_off :
7
- build_only : true
8
7
integration_platforms :
9
8
- nrf52840dk/nrf52840
10
9
platform_allow :
10
+ - nrf51dk/nrf51822
11
+ - nrf52840dk/nrf52840
12
+ - nrf52dk/nrf52832
13
+ - nrf5340dk/nrf5340/cpuapp
11
14
- nrf54l15dk/nrf54l05/cpuapp
12
15
- nrf54l15dk/nrf54l10/cpuapp
13
16
- nrf54l15dk/nrf54l15/cpuapp
14
- - nrf52840dk/nrf52840
15
- - nrf52dk/nrf52832
16
- - nrf51dk/nrf51822
17
+ harness : console
18
+ harness_config :
19
+ type : multi_line
20
+ ordered : true
21
+ regex :
22
+ - " system off demo"
23
+ - " Retained data not supported"
24
+ - " Entering system off; press sw0 to restart"
17
25
sample.boards.nrf.system_off.nrf_retained :
18
- build_only : true
19
26
integration_platforms :
20
27
- nrf52840dk/nrf52840
21
28
platform_allow :
22
29
- nrf52840dk/nrf52840
23
30
- nrf52dk/nrf52832
24
31
extra_configs :
25
32
- CONFIG_APP_USE_NRF_RETENTION=y
33
+ harness : console
34
+ harness_config :
35
+ type : multi_line
36
+ ordered : true
37
+ regex :
38
+ - " system off demo"
39
+ - " Retained data: INVALID"
40
+ - " Boot count: 1"
41
+ - " Off count: 0"
42
+ - " Active Ticks:"
43
+ - " Entering system off; press sw0 to restart"
26
44
sample.boards.nrf.system_off.retained_mem :
27
45
extra_args : DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_retained_mem.overlay"
28
- build_only : true
29
46
platform_allow :
30
47
- nrf54l15dk/nrf54l15/cpuapp
31
48
extra_configs :
32
49
- CONFIG_APP_USE_RETAINED_MEM=y
33
50
- CONFIG_RETAINED_MEM=y
51
+ harness : console
52
+ harness_config :
53
+ type : multi_line
54
+ ordered : true
55
+ regex :
56
+ - " system off demo"
57
+ - " Retained data: INVALID"
58
+ - " Boot count: 1"
59
+ - " Off count: 0"
60
+ - " Active Ticks:"
61
+ - " Entering system off; press sw0 to restart"
34
62
sample.boards.nrf.system_off.grtc_wakeup :
35
- build_only : true
36
63
platform_allow :
37
64
- nrf54l15dk/nrf54l15/cpuapp
38
65
extra_configs :
39
66
- CONFIG_GRTC_WAKEUP_ENABLE=y
67
+ harness : console
68
+ harness_config :
69
+ type : multi_line
70
+ ordered : true
71
+ regex :
72
+ - " system off demo"
73
+ - " Retained data not supported"
74
+ - " Entering system off; wait 2 seconds to restart"
75
+ - " system off demo"
76
+ - " Retained data not supported"
77
+ - " Entering system off; wait 2 seconds to restart"
78
+ - " system off demo"
79
+ - " Retained data not supported"
80
+ - " Entering system off; wait 2 seconds to restart"
81
+ sample.boards.nrf.system_off.retained_mem.grtc_wakeup :
82
+ extra_args : DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_retained_mem.overlay"
83
+ platform_allow :
84
+ - nrf54l15dk/nrf54l15/cpuapp
85
+ extra_configs :
86
+ - CONFIG_APP_USE_RETAINED_MEM=y
87
+ - CONFIG_GRTC_WAKEUP_ENABLE=y
88
+ - CONFIG_RETAINED_MEM=y
89
+ harness : console
90
+ harness_config :
91
+ type : multi_line
92
+ ordered : true
93
+ regex :
94
+ - " system off demo"
95
+ - " Retained data: INVALID"
96
+ - " Boot count: 1"
97
+ - " Off count: 0"
98
+ - " Active Ticks:"
99
+ - " Entering system off; wait 2 seconds to restart"
100
+ - " system off demo"
101
+ - " Retained data: valid"
102
+ - " Boot count: 2"
103
+ - " Off count: 1"
104
+ - " Active Ticks:"
105
+ - " Entering system off; wait 2 seconds to restart"
0 commit comments