zephyr/tests/subsys/logging/log_switch_format/testcase.yaml
Keith Packard 41fb993baf tests/subsys/logging: Require a full C library
These tests all require a full C library to run. Replace the condition
checking for either newlib or picolibc with a check for
CONFIG_FULL_LIBC_SUPPORTED instead, then add CONFIG_REQUIRES_FULL_LIBC=y to
ensure a full libc is used.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-04-27 20:18:11 +09:00

44 lines
1.3 KiB
YAML

common:
tags: logging mipi-sys-t
modules:
- mipi-sys-t
arch_exclude: mips nios2 posix sparc
filter: not CONFIG_64BIT
tests:
logging.log_switch_format.deferred:
integration_platforms:
- mps2_an385
- qemu_x86
- sam_e70_xplained
- qemu_cortex_a53
extra_args: OVERLAY_CONFIG=overlay_deferred.conf
# "CONFIG_FULL_LIBC_SUPPORTED" filter was applied
# because of following chain of dependencies:
# LOG_MIPI_SYST_ENABLE=y --> CONFIG_MIPI_SYST_LIB --> \
# --> REQUIRES_FULL_LIBC
#
# Not all compillers announced in Zephyr support a full C library
filter: CONFIG_FULL_LIBC_SUPPORTED
extra_configs:
- CONFIG_REQUIRES_FULL_LIBC=y
logging.log_switch_format.immediate:
extra_args: OVERLAY_CONFIG=overlay_immediate.conf
integration_platforms:
- mps2_an385
- qemu_x86
- sam_e70_xplained
- qemu_cortex_a53
filter: CONFIG_FULL_LIBC_SUPPORTED
extra_configs:
- CONFIG_REQUIRES_FULL_LIBC=y
logging.log_switch_format.custom_output:
extra_args: OVERLAY_CONFIG=overlay_custom_output.conf
integration_platforms:
- mps2_an385
- qemu_x86
- sam_e70_xplained
- qemu_cortex_a53
filter: CONFIG_FULL_LIBC_SUPPORTED
extra_configs:
- CONFIG_REQUIRES_FULL_LIBC=y