1common:
2  tags: cbprintf
3  type: unit
4
5tests:
6  utilities.prf.m32v00: # REDUCED
7    extra_args: M64_MODE=0
8    extra_configs:
9      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
10      - CONFIG_MINIMAL_LIBC=y
11
12  utilities.prf.m32v01: # FULL
13    extra_args: M64_MODE=0
14    extra_configs:
15      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
16      - CONFIG_MINIMAL_LIBC=y
17
18  utilities.prf.m32v02: # REDUCED + FP
19    extra_args: M64_MODE=0
20    extra_configs:
21      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
22      - CONFIG_CBPRINTF_FP_SUPPORT=y
23      - CONFIG_MINIMAL_LIBC=y
24
25  utilities.prf.m32v03: # FULL + FP
26    extra_args: M64_MODE=0
27    extra_configs:
28      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
29      - CONFIG_CBPRINTF_FP_SUPPORT=y
30      - CONFIG_MINIMAL_LIBC=y
31
32  utilities.prf.m32v07: # FULL + FP + FP_A
33    extra_args: M64_MODE=0
34    extra_configs:
35      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
36      - CONFIG_CBPRINTF_FP_SUPPORT=y
37      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
38      - CONFIG_MINIMAL_LIBC=y
39
40  utilities.prf.m32v08: # %n
41    extra_args: M64_MODE=0
42    extra_configs:
43      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
44      - CONFIG_CBPRINTF_N_SPECIFIER=y
45      - CONFIG_MINIMAL_LIBC=y
46
47  utilities.prf.m32v80: # NANO
48    extra_args: M64_MODE=0
49    extra_configs:
50      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
51      - CONFIG_CBPRINTF_NANO=y
52      - CONFIG_MINIMAL_LIBC=y
53
54  utilities.prf.m32v101: # FULL + LIBC
55    extra_args: M64_MODE=0
56    extra_configs:
57      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
58      - CONFIG_CBPRINTF_LIBC_SUBSTS=y
59      - CONFIG_MINIMAL_LIBC=y
60
61  utilities.prf.m32v181: # NANO + FULL + LIBC
62    extra_args: M64_MODE=0
63    extra_configs:
64      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
65      - CONFIG_CBPRINTF_NANO=y
66      - CONFIG_CBPRINTF_LIBC_SUBSTS=y
67      - CONFIG_MINIMAL_LIBC=y
68
69  utilities.prf.m32v200: # PACKAGED REDUCED
70    extra_args:
71      - M64_MODE=0
72      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
73    extra_configs:
74      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
75      - CONFIG_MINIMAL_LIBC=y
76
77  utilities.prf.m32v201: # PACKAGED FULL
78    extra_args:
79      - M64_MODE=0
80      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
81    extra_configs:
82      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
83      - CONFIG_MINIMAL_LIBC=y
84
85  utilities.prf.m32v207: # PACKAGED FULL + FP + FP_A
86    extra_args:
87      - M64_MODE=0
88      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
89    extra_configs:
90      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
91      - CONFIG_CBPRINTF_FP_SUPPORT=y
92      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
93      - CONFIG_MINIMAL_LIBC=y
94
95  utilities.prf.m32v208: # PACKAGED %n
96    extra_args:
97      - M64_MODE=0
98      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
99    extra_configs:
100      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
101      - CONFIG_MINIMAL_LIBC=y
102
103  utilities.prf.m32v281: # PACKAGED NANO + FULL
104    extra_args:
105      - M64_MODE=0
106      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
107    extra_configs:
108      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
109      - CONFIG_CBPRINTF_NANO=y
110      - CONFIG_MINIMAL_LIBC=y
111
112  utilities.prf.m32v1207: # PACKAGED FULL + FP + FP_A + PACKAGE_ALIGN_OFFSET
113    extra_args:
114      - M64_MODE=0
115      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x1200
116    extra_configs:
117      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
118      - CONFIG_CBPRINTF_FP_SUPPORT=y
119      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
120      - CONFIG_MINIMAL_LIBC=y
121
122  utilities.prf.m32va00: # PACKAGED REDUCED + AVOID_C_GENERIC
123    extra_args:
124      - M64_MODE=0
125      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
126    extra_configs:
127      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
128      - CONFIG_MINIMAL_LIBC=y
129
130  utilities.prf.m32va01: # PACKAGED FULL + AVOID_C_GENERIC
131    extra_args:
132      - M64_MODE=0
133      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
134    extra_configs:
135      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
136      - CONFIG_MINIMAL_LIBC=y
137
138  utilities.prf.m32va07: # PACKAGED FULL + FP + FP_A + AVOID_C_GENERIC
139    extra_args:
140      - M64_MODE=0
141      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
142    extra_configs:
143      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
144      - CONFIG_CBPRINTF_FP_SUPPORT=y
145      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
146      - CONFIG_MINIMAL_LIBC=y
147
148  utilities.prf.m32va08: # PACKAGED %n + AVOID_C_GENERIC
149    extra_args:
150      - M64_MODE=0
151      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
152    extra_configs:
153      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
154      - CONFIG_MINIMAL_LIBC=y
155
156  utilities.prf.m32va81: # PACKAGED NANO + FULL + AVOID_C_GENERIC
157    extra_args:
158      - M64_MODE=0
159      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
160    extra_configs:
161      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
162      - CONFIG_CBPRINTF_NANO=y
163      - CONFIG_MINIMAL_LIBC=y
164
165  utilities.prf.m64v00: # m64
166    extra_args: M64_MODE=1
167    extra_configs:
168      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
169      - CONFIG_MINIMAL_LIBC=y
170
171  utilities.prf.m64v01: # m64 FULL
172    extra_args: M64_MODE=1
173    extra_configs:
174      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
175      - CONFIG_MINIMAL_LIBC=y
176
177  utilities.prf.m64v03: # m64 FULL & FP
178    extra_args: M64_MODE=1
179    extra_configs:
180      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
181      - CONFIG_CBPRINTF_FP_SUPPORT=y
182      - CONFIG_MINIMAL_LIBC=y
183
184  utilities.prf.m64v17: # m64 FULL & FP & FP_A
185    extra_args: M64_MODE=1
186    extra_configs:
187      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
188      - CONFIG_CBPRINTF_FP_SUPPORT=y
189      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
190      - CONFIG_MINIMAL_LIBC=y
191
192  utilities.prf.m64v80: # NANO
193    extra_args: M64_MODE=1
194    extra_configs:
195      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
196      - CONFIG_CBPRINTF_NANO=y
197      - CONFIG_MINIMAL_LIBC=y
198
199  utilities.prf.m64v101: # FULL + LIBC
200    extra_args: M64_MODE=1
201    extra_configs:
202      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
203      - CONFIG_CBPRINTF_LIBC_SUBSTS=y
204      - CONFIG_MINIMAL_LIBC=y
205
206  utilities.prf.m64v181: # NANO + FULL + LIBC
207    extra_args: M64_MODE=1
208    extra_configs:
209      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
210      - CONFIG_CBPRINTF_NANO=y
211      - CONFIG_CBPRINTF_LIBC_SUBSTS=y
212      - CONFIG_MINIMAL_LIBC=y
213
214  utilities.prf.m64v200: # PACKAGED REDUCED
215    extra_args:
216      - M64_MODE=1
217      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
218    extra_configs:
219      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
220      - CONFIG_MINIMAL_LIBC=y
221
222  utilities.prf.m64v201: # PACKAGED FULL
223    extra_args:
224      - M64_MODE=1
225      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
226    extra_configs:
227      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
228      - CONFIG_MINIMAL_LIBC=y
229
230  utilities.prf.m64v207: # PACKAGED FULL + FP + FP_A
231    extra_args:
232      - M64_MODE=1
233      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
234    extra_configs:
235      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
236      - CONFIG_CBPRINTF_FP_SUPPORT=y
237      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
238      - CONFIG_MINIMAL_LIBC=y
239
240  utilities.prf.m64v208: # PACKAGED %n
241    extra_args:
242      - M64_MODE=1
243      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
244    extra_configs:
245      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
246      - CONFIG_CBPRINTF_N_SPECIFIER=y
247      - CONFIG_MINIMAL_LIBC=y
248
249  utilities.prf.m64v281: # PACKAGED NANO + FULL
250    extra_args:
251      - M64_MODE=1
252      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
253    extra_configs:
254      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
255      - CONFIG_CBPRINTF_NANO=y
256      - CONFIG_MINIMAL_LIBC=y
257
258  utilities.prf.m64v600: # PACKAGED REDUCED + LONG_DOUBLE PACKAGING
259    extra_args:
260      - M64_MODE=1
261      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
262    extra_configs:
263      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
264      - CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
265      - CONFIG_MINIMAL_LIBC=y
266
267  utilities.prf.m64v601: # PACKAGED FULL + LONG_DOUBLE PACKAGING
268    extra_args:
269      - M64_MODE=1
270      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
271    extra_configs:
272      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
273      - CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
274      - CONFIG_MINIMAL_LIBC=y
275
276  utilities.prf.m64v607: # PACKAGED FULL + FP + FP_A + LONG_DOUBLE PACKAGING
277    extra_args:
278      - M64_MODE=1
279      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
280    extra_configs:
281      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
282      - CONFIG_CBPRINTF_FP_SUPPORT=y
283      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
284      - CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
285      - CONFIG_MINIMAL_LIBC=y
286
287  utilities.prf.m64v608: # PACKAGED %n + LONG_DOUBLE PACKAGING
288    extra_args:
289      - M64_MODE=1
290      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
291    extra_configs:
292      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
293      - CONFIG_CBPRINTF_N_SPECIFIER=y
294      - CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
295      - CONFIG_MINIMAL_LIBC=y
296
297  utilities.prf.m64v681: # PACKAGED NANO + FULL + LONG_DOUBLE PACKAGING
298    extra_args:
299      - M64_MODE=1
300      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x200
301    extra_configs:
302      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
303      - CONFIG_CBPRINTF_NANO=y
304      - CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
305      - CONFIG_MINIMAL_LIBC=y
306
307  # PACKAGED FULL + FP + FP_A + LONG_DOUBLE PACKAGING + PACKAGE_ALIGN_OFFSET
308  utilities.prf.m64v1607:
309    extra_args:
310      - M64_MODE=1
311      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x1200
312    extra_configs:
313      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
314      - CONFIG_CBPRINTF_FP_SUPPORT=y
315      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
316      - CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
317      - CONFIG_MINIMAL_LIBC=y
318
319  utilities.prf.m64va00: # PACKAGED REDUCED + AVOID_C_GENERIC
320    extra_args:
321      - M64_MODE=1
322      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
323    extra_configs:
324      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
325      - CONFIG_MINIMAL_LIBC=y
326
327  utilities.prf.m64va01: # PACKAGED FULL + AVOID_C_GENERIC
328    extra_args:
329      - M64_MODE=1
330      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
331    extra_configs:
332      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
333      - CONFIG_MINIMAL_LIBC=y
334
335  utilities.prf.m64va07: # PACKAGED FULL + FP + FP_A + AVOID_C_GENERIC
336    extra_args:
337      - M64_MODE=1
338      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
339    extra_configs:
340      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
341      - CONFIG_CBPRINTF_FP_SUPPORT=y
342      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
343      - CONFIG_MINIMAL_LIBC=y
344
345  utilities.prf.m64va08: # PACKAGED %n + AVOID_C_GENERIC
346    extra_args:
347      - M64_MODE=1
348      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
349    extra_configs:
350      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
351      - CONFIG_CBPRINTF_N_SPECIFIER=y
352      - CONFIG_MINIMAL_LIBC=y
353
354  utilities.prf.m64va81: # PACKAGED NANO + FULL + AVOID_C_GENERIC
355    extra_args:
356      - M64_MODE=1
357      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0xa00
358    extra_configs:
359      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
360      - CONFIG_CBPRINTF_NANO=y
361      - CONFIG_MINIMAL_LIBC=y
362
363  utilities.prf.m64v2200: # PACKAGED REDUCED + CBPRINTF_PACKAGE_ADD_STRING_IDXS
364    extra_args:
365      - M64_MODE=1
366      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x2200
367    extra_configs:
368      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
369      - CONFIG_MINIMAL_LIBC=y
370
371  utilities.prf.m64v2201: # PACKAGED FULL + CBPRINTF_PACKAGE_ADD_STRING_IDXS
372    extra_args:
373      - M64_MODE=1
374      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x2200
375    extra_configs:
376      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
377      - CONFIG_MINIMAL_LIBC=y
378
379  utilities.prf.m64v2207: # PACKAGED FULL + FP + FP_A + CBPRINTF_PACKAGE_ADD_STRING_IDXS
380    extra_args:
381      - M64_MODE=1
382      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x2200
383    extra_configs:
384      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
385      - CONFIG_CBPRINTF_FP_SUPPORT=y
386      - CONFIG_CBPRINTF_FP_A_SUPPORT=y
387      - CONFIG_MINIMAL_LIBC=y
388
389  utilities.prf.m64v2208: # PACKAGED %n + CBPRINTF_PACKAGE_ADD_STRING_IDXS
390    extra_args:
391      - M64_MODE=1
392      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x2200
393    extra_configs:
394      - CONFIG_CBPRINTF_REDUCED_INTEGRAL=y
395      - CONFIG_CBPRINTF_N_SPECIFIER=y
396      - CONFIG_MINIMAL_LIBC=y
397
398  utilities.prf.m64v2281: # PACKAGED NANO + FULL + CBPRINTF_PACKAGE_ADD_STRING_IDXS
399    extra_args:
400      - M64_MODE=1
401      - EXTRA_CPPFLAGS=-DVIA_TWISTER=0x2200
402    extra_configs:
403      - CONFIG_CBPRINTF_FULL_INTEGRAL=y
404      - CONFIG_CBPRINTF_NANO=y
405      - CONFIG_MINIMAL_LIBC=y
406