@@ -4,34 +4,102 @@ common:
44  tags : power 
55tests :
66  sample.boards.nrf.system_off :
7-     build_only : true 
87    integration_platforms :
98      - nrf52840dk/nrf52840 
109    platform_allow :
11-       - nrf54l15dk/nrf54l15/cpuapp 
10+       - nrf51dk/nrf51822 
1211      - nrf52840dk/nrf52840 
1312      - nrf52dk/nrf52832 
14-       - nrf51dk/nrf51822 
13+       - nrf5340dk/nrf5340/cpuapp 
14+       - nrf54l15dk/nrf54l05/cpuapp 
15+       - nrf54l15dk/nrf54l10/cpuapp 
16+       - nrf54l15dk/nrf54l15/cpuapp 
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" 
1525  sample.boards.nrf.system_off.nrf_retained :
16-     build_only : true 
1726    integration_platforms :
1827      - nrf52840dk/nrf52840 
1928    platform_allow :
2029      - nrf52840dk/nrf52840 
2130      - nrf52dk/nrf52832 
2231    extra_configs :
2332      - 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" 
2444  sample.boards.nrf.system_off.retained_mem :
2545    extra_args : DTC_OVERLAY_FILE="boards/nrf54l15dk_nrf54l15_cpuapp_retained_mem.overlay" 
26-     build_only : true 
2746    platform_allow :
2847      - nrf54l15dk/nrf54l15/cpuapp 
2948    extra_configs :
3049      - CONFIG_APP_USE_RETAINED_MEM=y 
3150      - 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" 
3262  sample.boards.nrf.system_off.grtc_wakeup :
33-     build_only : true 
3463    platform_allow :
3564      - nrf54l15dk/nrf54l15/cpuapp 
3665    extra_configs :
3766      - 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