File: changeset_testlist.yaml

package info (click to toggle)
uhd 4.9.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184,228 kB
  • sloc: cpp: 262,844; python: 112,011; ansic: 102,670; vhdl: 57,031; tcl: 19,924; xml: 8,581; makefile: 3,028; sh: 2,812; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (409 lines) | stat: -rw-r--r-- 10,187 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
# Test targets:
# - uhd.build.$PLATFORM: Build UHD on given platforms. This includes running unit tests.
#                        Valid values for $PLATFORM are: all, linux, windows, mac.
# - hw.streaming.$DEVICE: Run streaming tests for $DEVICE.
# - hw.rf.$DEVICE: Run RF tests for $DEVICE.
# - devtest.$DEVICE: Run devtests for $DEVICE.

###############################################################################
# STYLE / FORMATTING CHANGES
###############################################################################
- re: \.[ch]pp$
  add:
    - clang-format
  stop: False

###############################################################################
# HOST CHANGES (UHD)
###############################################################################
- re: host/examples/rfnoc-gain|host/tests/test_modtool.py
  add:
    - uhd.build.linux
    - uhd.rfnoc_modtool.all
# If only a unit test changed, then we need to re-run unit tests, but no HW tests
- re: ^host/tests/[^/]+(cpp|py)$|^host/tests/CMakeLists.txt
  add:
    - uhd.build.all
    - uhd.utest.all
# Documentation changes
- re: ^host/docs/
  add:
    - uhd.docs
# If a comment in a public header changed, then most likely the documentation
# changed, but we still want to run other tests, too
- re: ^host/include/uhd/.+\.hpp$
  add:
    - uhd.docs
  include_content: comments
  stop: False
# Image builder
# Note the FPGA pipelines have their own rules around the image builder. For
# UHD, we just run a build to make sure the package is not in a weird state.
- re: ^host/python/uhd/rfnoc_utils/grc.py
  add:
    - uhd.build.linux
- re: ^host/python/uhd/rfnoc_utils/
  add:
    - uhd.build.linux
# Device-specific changes. These should trigger HW tests only on those devices
# they affect. We start with daughterboard rules, then motherboard rules.
- re: host/lib/usrp/dboard/zbx/
  add:
    - uhd.build.all
    - hw.rf.x410
    - hw.streaming.x410
    - devtest.x410
- re: host/lib/usrp/dboard/e3xx
  add:
    - uhd.build.all
    - hw.rf.e3xx
    - hw.streaming.e3xx
    - devtest.e3xx
- re: host/lib/usrp/dboard/magnesium
  add:
    - uhd.build.all
    - hw.rf.n310
    - devtest.n310
- re: host/lib/usrp/dboard/rhodium
  add:
    - uhd.build.all
    - hw.rf.n320
    - devtest.n320
- re: host/lib/usrp/dboard/twinrx/
  name: host/lib/usrp/dboard/db_twinrx.cpp
  add:
    - uhd.build.all
    - hw.rf.x310.twinrx
    - hw.rf.x300.twinrx
- re: host/lib/usrp/dboard/obx|host/lib/include/uhdlib/usrp/dboard/obx
  add:
    - uhd.build.all
    - hw.rf.x3xx
    - devtest.x3xx
    - hw.streaming.x3xx
- re: host/lib/usrp/dboard/.*CMakeLists.txt
  add:
    - uhd.build.all
- re: host/lib/usrp/dboard/db_.+pp$
  add:
    - uhd.build.all
    - hw.rf.x3xx
    - hw.rf.n2xx
- re: host/lib/usrp/b200/
  add:
    - uhd.build.all
    - hw.rf.b2xx
    - hw.streaming.b2xx
    - devtest.b2xx
- re: host/lib/usrp/b100/
  add:
    - uhd.build.all
    - hw.rf.b1xx
    - hw.streaming.b1xx
    - devtest.b1xx
- re: host/lib/usrp/x300/
  add:
    - uhd.build.all
    - hw.rf.x3xx
    - hw.streaming.x3xx
    - devtest.x3xx.all
- re: host/lib/usrp/x400/
  add:
    - uhd.build.all
    - hw.rf.x4xx
    - hw.rf.n3xx
    - hw.streaming.x4xx
    - devtest.x4xx
- re: host/lib/usrp/mpmd/
  add:
    - uhd.build.all
    - hw.rf.x4xx
    - hw.rf.n3xx
    - hw.rf.e3xx
    - hw.streaming.x4xx
    - hw.streaming.n3xx
    - hw.streaming.e3xx
    - devtest.x4xx
    - devtest.e3xx
    - devtest.n3xx
- re: host/lib/usrp/usrp2
  add:
    - uhd.build.all
    - hw.rf.n2xx
- re: host/tests/devtest
  add:
    - uhd.build.all
    - devtest.all
- re: images/manifest
  add:
    - uhd.build.all
    - uhd.utest.all
    - hw.streaming.all
    - hw.rf.all
    - devtest.all
# Catchall rule for UHD changes
- re: host/.+cpp$|host/.*CMakeLists.txt|host/.+hpp$|host/.+ipp$|host/.+c$|host/.+h$|host/.+py$
  add:
    - uhd.build.all
    - uhd.utest.all
    - hw.streaming.all
    - hw.rf.all
    - devtest.all
  stop: False

###############################################################################
# MPM CHANGES
###############################################################################
# When any code file changes, we want to run the unit tests, but run the
# other tests, too
- re: ^mpm/.+hpp$|^mpm/.+cpp$|^mpm/.+py$|^mpm/.+/tests/|^mpm/.*CMakeLists.txt$
  add:
    - uhd.build.linux
    - mpm.utest.all
  stop: False
- re: ^mpm/.+/ad9361|^mpm/.+catalina$|^mpm/.+/dboard_manager/ad936x_db.py
  add:
    - mpm.build.e3xx
    - hw.rf.e3xx
    - devtest.e3xx
- re: ^mpm/.+/periph_manager/n3xx
  add:
    - mpm.build.n3xx
    - hw.rf.n3xx
    - hw.streaming.n3xx
    - devtest.n3xx
- re: ^mpm/.+/ad937x|^mpm/.+/mykonos|^mpm/.+/dboard_manager/mg_|magnesium_manager..pp$
  add:
    - mpm.build.n310
    - hw.rf.n310
    - devtest.n310
- re: ^mpm/.+/dboard_manager/rh_|^mpm/.+/dboard_manager/..._rh.py
  add:
    - mpm.build.n320
    - hw.rf.n320
    - devtest.n320
- re: ^mpm/.+periph_manager/x4xx
  add:
    - hw.streaming.x4xx
  stop: False
- re: ^mpm/.+/rfdc|^mpm/.+_manager/x4xx
  add:
    - mpm.build.x4xx
    - hw.rf.x4xx
    - devtest.x4xx
- re: fbx.py$
  add:
    - mpm.build.x4xx
    - hw.rf.x440
    - devtest.x440
- re: zbx.py
  add:
    - mpm.build.x4xx
    - hw.rf.x410
    - devtest.x410
- re: e31x_db_manager..pp$|^mpm/.+/periph_manager/e31x|e31x_db.py$
  add:
    - mpm.build.e310
    - hw.rf.e310
    - devtest.e310
- re: neon_manager..pp$|^mpm/.+/periph_manager/e320
  add:
    - mpm.build.e320
    - hw.rf.e320
    - devtest.e320
# Catchall rule for MPM changes
- re: ^mpm/
  add:
    - mpm.build.all
    - mpm.utest.all
    - hw.streaming.all
    - hw.rf.all
    - devtest.all

###############################################################################
# FPGA CHANGES
###############################################################################
# build targets:
# - fpga.usrp3.$PLATFORM: Build FPGA images for given platforms.

- re: fpga/usrp3/
  add:
    - fpga.usrp3.testbenches
    - fpga.usrp3.regmaps
  stop: False

# library changes
- re: fpga/usrp3/lib
  add:
    - fpga.usrp3.all
    - uhd.rfnoc_modtool.all
    - fpga.usrp3.cpld.x4xx
    - fpga.usrp3.cpld.x3xx

# image builder changes
- re: host/utils/rfnoc_image_builder.py
  add:
    - fpga.usrp3.all
# only trigger on .py files, exclude modtools_commands and templates
- re: host/python/uhd/rfnoc_utils/[^/]+py$
  add:
    - fpga.usrp3.all
# RFNoC blocks
- re: host/include/uhd/rfnoc/blocks/.*\.yml
  add:
    - fpga.usrp3.all
# RFNoC core (the device-specific BSP files are checked below)
- re: host/include/uhd/rfnoc/core/rfnoc_imagebuilder_args\.json
  add:
    - fpga.usrp3.all
# RFNoC modules
- re: host/include/uhd/rfnoc/modules/.*\.yml
  add:
    - fpga.usrp3.all
# RFNoC transport adapters (only relevant for x4xx)
- re: host/include/uhd/rfnoc/transport_adapters/.*\.yml
  add:
    - fpga.usrp3.x4xx

# Device-specific changes.
- re: fpga/usrp3/top/x400
  add:
    - fpga.usrp3.x4xx
- re: host/include/uhd/rfnoc/core/x4.._bsp.yml
  add:
    - fpga.usrp3.x4xx
- re: fpga/usrp3/top/x300
  add:
    - fpga.usrp3.x3xx
- re: host/include/uhd/rfnoc/core/x3.._bsp.yml
  add:
    - fpga.usrp3.x3xx
- re: fpga/usrp3/top/e31x
  add:
    - fpga.usrp3.e31x
- re: host/include/uhd/rfnoc/core/e310_bsp.yml
  add:
    - fpga.usrp3.e31x
- re: fpga/usrp3/top/e320
  add:
    - fpga.usrp3.e320
- re: host/include/uhd/rfnoc/core/e320_bsp.yml
  add:
    - fpga.usrp3.e320
- re: fpga/usrp3/top/n3xx
  add:
    - fpga.usrp3.n3xx
- re: host/include/uhd/rfnoc/core/n3.._bsp.yml
  add:
    - fpga.usrp3.n3xx

# CPLD related changes
- re: fpga/usrp3/top/x400/cpld
  add:
    - fpga.usrp3.cpld.x4xx
- re: fpga/usrp3/top/x400/dboards
  add:
    - fpga.usrp3.cpld.x4xx
- re: fpga/usrp3/top/x400/constraints/timing/shared_constants.sdc
  add:
    - fpga.usrp3.cpld.x4xx
- re: fpga/usrp3/top/x300/dboards
  add:
    - fpga.usrp3.cpld.x3xx

###############################################################################
# CI CHANGES
###############################################################################
# Changes to pipeline infrastructure or build jobs -> build and test all
- re: .ci/templates/stages-.*.yml
  add:
    - uhd.build.all
    - hw.streaming.all
    - hw.rf.all
    - devtest.all
- re: .ci/templates/.*-build.*.yml
  add:
    - uhd.build.all
    - hw.streaming.all
    - hw.rf.all
    - devtest.all
# Devtest
- re: .ci/templates/.*-devtest.*.yml
  add:
    - uhd.build.linux
    - devtest.all
# RF Test
- re: .ci/templates/.*-rf-tests.*.yml
  add:
    - uhd.build.linux
    - hw.rf.all
# Streaming Test
- re: .ci/templates/.*-streaming.*.yml
  add:
    - uhd.build.linux
    - hw.streaming.all
# RF Test x4xx
- re: .ci/templates/tests/.*.yml
  add:
    - uhd.build.linux
    - hw.rf.x4xx
- re: .ci/templates/.*rfnoc_modtool.*.yml
  add:
    - uhd.build.linux
    - uhd.rfnoc_modtool.all


- re: .ci/fpga/templates
  add:
    - fpga.usrp3.all
    - fpga.usrp3.cpld.x4xx
    - fpga.usrp3.cpld.x3xx
    - fpga.usrp3.testbenches
    - fpga.usrp3.regmaps
- re: .ci/fpga/scripts
  add:
    - fpga.usrp3.all
    - fpga.usrp3.cpld.x4xx
    - fpga.usrp3.cpld.x3xx
    - fpga.usrp3.testbenches
    - fpga.usrp3.regmaps
- re: .ci/hwtools
  add:
    - fpga.usrp3.all
    - fpga.usrp3.cpld.x4xx
    - fpga.usrp3.cpld.x3xx
    - fpga.usrp3.testbenches
    - fpga.usrp3.regmaps
# Device-specific pipeline changes.
- re: .ci/fpga/devices/job-build-x400.yml
  add:
    - fpga.usrp3.x4xx
- re: .ci/fpga/devices/job-build-x300.yml
  add:
    - fpga.usrp3.x3xx
- re: .ci/fpga/devices/job-build-e31x.yml
  add:
    - fpga.usrp3.e31x
- re: .ci/fpga/devices/job-build-e320.yml
  add:
    - fpga.usrp3.e320
- re: .ci/fpga/devices/job-build-n3xx.yml
  add:
    - fpga.usrp3.n3xx

###############################################################################
# LABEL-BASED RULES
###############################################################################
- label: ci:skip_devtests
  remove_re:
    - "^devtest"
# Need to escape the dot for the regex by using a backslash: \.
# Have to use double backslashes in order to make the yaml parser happy
- label: ci:skip_rf_tests
  remove_re:
    - "^hw\\.rf"

- label: ci:skip_streaming_tests
  remove_re:
    - "^hw\\.streaming"