1common:
2  harness: console
3  arch_exclude: posix
4  tags: cbprintf
5  integration_platforms:
6    - qemu_x86
7    - qemu_x86_64
8  filter: CONFIG_CONSOLE_HAS_DRIVER
9tests:
10  libraries.cbprintf.fp.printk:
11    extra_configs:
12      - CONFIG_APP_FORMATTER_PRINTK=y
13    harness_config:
14      type: multi_line
15      ordered: true
16      regex:
17        - "Hello with printk"
18        - "Complete"
19  libraries.cbprintf.fp.printf:
20    extra_configs:
21      - CONFIG_APP_FORMATTER_PRINTF=y
22    harness_config:
23      type: multi_line
24      ordered: true
25      regex:
26        - "Hello with printf"
27        - "Complete"
28  libraries.cbprintf.fp.printf_nl:
29    filter: TOOLCHAIN_HAS_NEWLIB == 1
30    extra_configs:
31      - CONFIG_APP_FORMATTER_PRINTF=y
32      - CONFIG_NEWLIB_LIBC=y
33    harness_config:
34      type: multi_line
35      ordered: true
36      regex:
37        - "Hello with printf/newlib"
38        - "Complete"
39  libraries.cbprintf.fp.printfcb:
40    extra_configs:
41      - CONFIG_APP_FORMATTER_PRINTFCB=y
42    harness_config:
43      type: multi_line
44      ordered: true
45      regex:
46        - "Hello with printfcb"
47        - "Complete"
48  libraries.cbprintf.fp.printfcb_nl:
49    filter: TOOLCHAIN_HAS_NEWLIB == 1
50    extra_configs:
51      - CONFIG_APP_FORMATTER_PRINTFCB=y
52      - CONFIG_NEWLIB_LIBC=y
53    harness_config:
54      type: multi_line
55      ordered: true
56      regex:
57        - "Hello with printfcb/newlib"
58        - "Complete"
59  libraries.cbprintf.fp.fprintf:
60    extra_configs:
61      - CONFIG_APP_FORMATTER_FPRINTF=y
62    harness_config:
63      type: multi_line
64      ordered: true
65      regex:
66        - "Hello with fprintf"
67        - "Complete"
68  libraries.cbprintf.fp.fprintfcb:
69    extra_configs:
70      - CONFIG_APP_FORMATTER_FPRINTFCB=y
71    harness_config:
72      type: multi_line
73      ordered: true
74      regex:
75        - "Hello with fprintfcb"
76        - "Complete"
77  libraries.cbprintf.fp.printf.picolibc:
78    filter: CONFIG_PICOLIBC_SUPPORTED
79    tags: picolibc
80    extra_configs:
81      - CONFIG_APP_FORMATTER_PRINTF=y
82      - CONFIG_PICOLIBC=y
83    harness_config:
84      type: multi_line
85      ordered: true
86      regex:
87        - "Hello with printf"
88        - "Complete"
89  libraries.cbprintf.fp.printfcb.picolibc:
90    filter: CONFIG_PICOLIBC_SUPPORTED
91    tags: picolibc
92    extra_configs:
93      - CONFIG_APP_FORMATTER_PRINTFCB=y
94      - CONFIG_PICOLIBC=y
95    harness_config:
96      type: multi_line
97      ordered: true
98      regex:
99        - "Hello with printfcb"
100        - "Complete"
101