zephyr/tests/lib/cbprintf_package/testcase.yaml

53 lines
1.5 KiB
YAML

common:
filter: CONFIG_QEMU_TARGET or CONFIG_BOARD_NATIVE_POSIX
tags: cbprintf
integration_platforms:
- native_posix
tests:
libraries.cbprintf_package:
extra_configs:
- CONFIG_CBPRINTF_COMPLETE=y
libraries.cbprintf_package_no_generic:
extra_configs:
- CONFIG_CBPRINTF_COMPLETE=y
- CONFIG_COMPILER_OPT="-DZ_C_GENERIC=0"
libraries.cbprintf_package_fp:
filter: CONFIG_CPU_HAS_FPU
extra_configs:
- CONFIG_CBPRINTF_FP_SUPPORT=y
- CONFIG_CBPRINTF_COMPLETE=y
- CONFIG_FPU=y
libraries.cbprintf_package_fp_align_offset:
filter: CONFIG_CPU_HAS_FPU
extra_configs:
- CONFIG_CBPRINTF_FP_SUPPORT=y
- CONFIG_CBPRINTF_COMPLETE=y
- CONFIG_COMPILER_OPT="-DCBPRINTF_PACKAGE_ALIGN_OFFSET=1"
- CONFIG_FPU=y
libraries.cbprintf_package_long_double:
filter: CONFIG_CPU_HAS_FPU
platform_exclude: qemu_riscv32
extra_configs:
- CONFIG_CBPRINTF_FP_SUPPORT=y
- CONFIG_CBPRINTF_COMPLETE=y
- CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
- CONFIG_FPU=y
libraries.cbprintf_package_long_double_align_offset:
filter: CONFIG_CPU_HAS_FPU
platform_exclude: qemu_riscv32
extra_configs:
- CONFIG_CBPRINTF_FP_SUPPORT=y
- CONFIG_CBPRINTF_COMPLETE=y
- CONFIG_CBPRINTF_PACKAGE_LONGDOUBLE=y
- CONFIG_COMPILER_OPT="-DCBPRINTF_PACKAGE_ALIGN_OFFSET=1"
- CONFIG_FPU=y
libraries.cbprintf_package_nano:
extra_configs:
- CONFIG_CBPRINTF_NANO=y