Skip to content

Commit 5c4f217

Browse files
committed
tests: add integration_platforms and misc optimizations
Add integration_platforms to many tests that use platform_allow to manage scope of pull_request CI. Signed-off-by: Anas Nashif <[email protected]>
1 parent 1221650 commit 5c4f217

File tree

42 files changed

+127
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+127
-34
lines changed

samples/basic/minimal/sample.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ tests:
1313
extra_args: CONF_FILE='common.conf;mt.conf;arm.conf'
1414
build_only: true
1515
platform_allow:
16-
- reel_board
1716
- frdm_k64f
1817
- mps2/an385
1918
- nrf51dk/nrf51822
@@ -25,42 +24,46 @@ tests:
2524
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;arm.conf'
2625
build_only: true
2726
platform_allow:
28-
- reel_board
2927
- frdm_k64f
3028
- mps2/an385
3129
- nrf51dk/nrf51822
3230
- nucleo_f429zi
3331
- disco_l475_iot1
32+
integration_platforms:
33+
- frdm_k64f
3434
sample.minimal.mt-no-preempt-no-timers.arm:
3535
extra_args: CONF_FILE='common.conf;mt.conf;no-preempt.conf;no-timers.conf;arm.conf'
3636
build_only: true
3737
platform_allow:
38-
- reel_board
3938
- frdm_k64f
4039
- mps2/an385
4140
- nrf51dk/nrf51822
4241
- nucleo_f429zi
4342
- disco_l475_iot1
43+
integration_platforms:
44+
- frdm_k64f
4445
sample.minimal.no-mt.arm:
4546
extra_args: CONF_FILE='common.conf;no-mt.conf;arm.conf'
4647
build_only: true
4748
platform_allow:
48-
- reel_board
4949
- frdm_k64f
5050
- mps2/an385
5151
- nrf51dk/nrf51822
5252
- nucleo_f429zi
5353
- disco_l475_iot1
54+
integration_platforms:
55+
- frdm_k64f
5456
sample.minimal.no-mt-no-timers.arm:
5557
extra_args: CONF_FILE='common.conf;no-mt.conf;no-timers.conf;arm.conf'
5658
build_only: true
5759
platform_allow:
58-
- reel_board
5960
- frdm_k64f
6061
- mps2/an385
6162
- nrf51dk/nrf51822
6263
- nucleo_f429zi
6364
- disco_l475_iot1
65+
integration_platforms:
66+
- frdm_k64f
6467
sample.minimal.mt.x86:
6568
extra_args: CONF_FILE='common.conf;mt.conf;x86.conf'
6669
build_only: true

samples/boards/st/power_mgmt/wkup_pins/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ tests:
1010
- nucleo_u575zi_q
1111
- nucleo_u5a5zj_q
1212
- nucleo_wl55jc
13+
integration_platforms:
14+
- nucleo_l4r5zi

samples/drivers/display/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ tests:
5252
- mimxrt1060_evk
5353
- mimxrt1050_evk
5454
- mimxrt1040_evk
55+
integration_platforms:
56+
- mimxrt1040_evk
5557
tags: display
5658
harness: console
5759
extra_args: SHIELD=rk043fn02h_ct

samples/drivers/watchdog/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,5 @@ tests:
112112
- s32z2xxdc2/s32z270/rtu1
113113
- s32z2xxdc2@D/s32z270/rtu0
114114
- s32z2xxdc2@D/s32z270/rtu1
115+
integration_platforms:
116+
- s32z2xxdc2/s32z270/rtu0

samples/net/zperf/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ tests:
2727
- nucleo_f429zi
2828
- nucleo_f746zg
2929
- stm32h573i_dk
30+
integration_platforms:
31+
- stm32h573i_dk
3032
sample.net.zperf_no_shell:
3133
harness: net
3234
extra_configs:

samples/subsys/canbus/isotp/sample.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ tests:
2323
- CONFIG_SAMPLE_LOOPBACK_MODE=y
2424
- CONFIG_SAMPLE_CAN_FD_MODE=y
2525
platform_allow:
26-
- native_posix
27-
- native_posix/native/64
2826
- native_sim
2927
- native_sim/native/64
3028
harness: console

samples/subsys/display/lvgl/sample.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ tests:
7676
- mimxrt1060_evk
7777
- mimxrt1050_evk
7878
- mimxrt1040_evk
79+
integration_platforms:
80+
- mimxrt1040_evk
7981
tags: display
8082
harness: console
8183
extra_args: SHIELD=rk043fn66hs_ctg
@@ -87,6 +89,8 @@ tests:
8789
- mimxrt1060_evk
8890
- mimxrt1050_evk
8991
- mimxrt1040_evk
92+
integration_platforms:
93+
- mimxrt1040_evk
9094
tags: display
9195
harness: console
9296
extra_args: SHIELD=rk043fn02h_ct

samples/tfm_integration/config_build/sample.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ common:
55
tags:
66
- trusted-firmware-m
77
platform_allow:
8-
- mps2/an521/cpu0/ns
98
- v2m_musca_s1/musca_s1/ns
109
- nrf5340dk/nrf5340/cpuapp/ns
1110
- nrf9160dk/nrf9160/ns
1211
- bl5340_dvk/nrf5340/cpuapp/ns
12+
integration_platforms:
13+
- nrf5340dk/nrf5340/cpuapp/ns
1314
harness: console
1415
harness_config:
1516
type: one_line

samples/tfm_integration/psa_crypto/sample.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ tests:
2020
- nrf9160dk/nrf9160/ns
2121
- stm32l562e_dk/stm32l562xx/ns
2222
- bl5340_dvk/nrf5340/cpuapp/ns
23+
integration_platforms:
24+
- mps2/an521/cpu0/ns
2325
harness: console
2426
harness_config:
2527
type: multi_line

tests/bluetooth/init/testcase.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,13 @@ tests:
143143
- nrf52dk/nrf52832
144144
integration_platforms:
145145
- nrf5340dk/nrf5340/cpunet
146-
- nrf52840dk/nrf52840
147-
- nrf52dk/nrf52832
148146
bluetooth.init.test_ctlr_ticker:
149147
extra_args:
150148
- CONF_FILE=prj_ctlr_ticker.conf
151149
platform_allow:
152150
- nrf52840dk/nrf52840
153151
- nrf52dk/nrf52832
154152
integration_platforms:
155-
- nrf52840dk/nrf52840
156153
- nrf52dk/nrf52832
157154
bluetooth.init.test_ctlr_broadcaster:
158155
extra_args: CONF_FILE=prj_ctlr_broadcaster.conf
@@ -161,20 +158,26 @@ tests:
161158
- nrf52dk/nrf52832
162159
- nrf51dk/nrf51822
163160
- rv32m1_vega/openisa_rv32m1/ri5cy
161+
integration_platforms:
162+
- nrf52dk/nrf52832
164163
bluetooth.init.test_ctlr_peripheral:
165164
extra_args: CONF_FILE=prj_ctlr_peripheral.conf
166165
platform_allow:
167166
- nrf52840dk/nrf52840
168167
- nrf52dk/nrf52832
169168
- nrf51dk/nrf51822
170169
- rv32m1_vega/openisa_rv32m1/ri5cy
170+
integration_platforms:
171+
- nrf52dk/nrf52832
171172
bluetooth.init.test_ctlr_peripheral_priv:
172173
extra_args: CONF_FILE=prj_ctlr_peripheral_priv.conf
173174
platform_allow:
174175
- nrf52840dk/nrf52840
175176
- nrf52dk/nrf52832
176177
- nrf51dk/nrf51822
177178
- rv32m1_vega/openisa_rv32m1/ri5cy
179+
integration_platforms:
180+
- nrf52840dk/nrf52840
178181
bluetooth.init.test_ctlr_observer:
179182
extra_args: CONF_FILE=prj_ctlr_observer.conf
180183
platform_allow:
@@ -184,8 +187,6 @@ tests:
184187
- rv32m1_vega/openisa_rv32m1/ri5cy
185188
integration_platforms:
186189
- nrf52dk/nrf52832
187-
- nrf51dk/nrf51822
188-
- rv32m1_vega/openisa_rv32m1/ri5cy
189190
bluetooth.init.test_ctlr_central:
190191
extra_args: CONF_FILE=prj_ctlr_central.conf
191192
platform_allow:
@@ -195,7 +196,6 @@ tests:
195196
- rv32m1_vega/openisa_rv32m1/ri5cy
196197
integration_platforms:
197198
- nrf52dk/nrf52832
198-
- nrf51dk/nrf51822
199199
- rv32m1_vega/openisa_rv32m1/ri5cy
200200
bluetooth.init.test_ctlr_central_priv:
201201
extra_args: CONF_FILE=prj_ctlr_central_priv.conf
@@ -206,7 +206,6 @@ tests:
206206
- rv32m1_vega/openisa_rv32m1/ri5cy
207207
integration_platforms:
208208
- nrf52dk/nrf52832
209-
- nrf51dk/nrf51822
210209
- rv32m1_vega/openisa_rv32m1/ri5cy
211210
bluetooth.init.test_ctlr_broadcaster_ext:
212211
extra_args: CONF_FILE=prj_ctlr_broadcaster_ext.conf
@@ -343,7 +342,6 @@ tests:
343342
- rv32m1_vega/openisa_rv32m1/ri5cy
344343
integration_platforms:
345344
- nrf52840dk/nrf52840
346-
- nrf52dk/nrf52832
347345
- rv32m1_vega/openisa_rv32m1/ri5cy
348346
bluetooth.init.test_config_bt_recv_workq_bt:
349347
extra_args:

0 commit comments

Comments
 (0)