1sample:
2  description: A simple application that demonstrate use of logging feature.
3  name: logger sample
4tests:
5  sample.logger.basic:
6    integration_platforms:
7      - native_sim
8    tags: logging
9    harness: console
10    harness_config:
11      type: one_line
12      regex:
13        - Instance level logging showcase
14        - Changing filter to warning
15        - Disabling logging
16        - Severity levels showcase
17        - Logging performance showcase
18        - Logs from external logging system showcase
19
20  sample.logger.rtt:
21    integration_platforms:
22      - frdm_k64f
23    tags: logging
24    filter: CONFIG_HAS_SEGGER_RTT
25    arch_exclude:
26      - posix
27    harness: keyboard
28    extra_configs:
29      - CONFIG_LOG_BACKEND_RTT=y
30      - CONFIG_USE_SEGGER_RTT=y
31
32  sample.logger.bt:
33    platform_allow:
34      - nrf52840dk/nrf52840
35    integration_platforms:
36      - nrf52840dk/nrf52840
37    tags:
38      - logging
39      - bluetooth
40    filter: CONFIG_DT_HAS_ZEPHYR_NUS_UART_ENABLED
41    harness: bluetooth_nus
42    arch_exclude:
43      - posix
44    extra_args:
45      - EXTRA_CONF_FILE="overlay-bt.conf"
46      - DTC_OVERLAY_FILE="bt.overlay"
47
48  sample.logger.usermode:
49    integration_platforms:
50      - mps2/an385
51    platform_exclude:
52      - ip_k66f
53      - bl652_dvk
54      - bl654_dvk
55      - decawave_dwm1001_dev
56      - segger_trb_stm32f407
57      - bytesensi_l
58      - bl654_dvk/nrf52840/pa
59    arch_exclude:
60      - posix
61    tags:
62      - logging
63      - usermode
64    filter: CONFIG_ARCH_HAS_USERSPACE
65    harness: keyboard
66    extra_configs:
67      - CONFIG_USERSPACE=y
68
69  sample.logger.swo:
70    arch_allow: arm
71    platform_allow:
72      - apollo3_evb
73      - apollo3p_evb
74    integration_platforms:
75      - apollo3_evb
76      - apollo3p_evb
77    tags:
78      - logging
79    filter: CONFIG_HAS_SWO
80    extra_args:
81      - EXTRA_CONF_FILE="arm_itm_swo.conf"
82      - DTC_OVERLAY_FILE="arm_itm_swo.overlay"
83