Picolibc has two floating point output modules, the default, "exact", module which meets the ISO/IEC 9899:2011 specification and a smaller "inexact" version which does not meet those specifications. Add a test for this latter version to make sure it meets some modest Zephyr requirements. Signed-off-by: Keith Packard <keithp@keithp.com>
36 lines
958 B
YAML
36 lines
958 B
YAML
tests:
|
|
libraries.libc.sprintf:
|
|
extra_args: CONF_FILE=prj.conf
|
|
filter: not CONFIG_SOC_MCIMX7_M4 and CONFIG_STDOUT_CONSOLE
|
|
integration_platforms:
|
|
- qemu_x86
|
|
arch_exclude: posix
|
|
tags: libc
|
|
ignore_faults: true
|
|
libraries.libc.sprintf_new:
|
|
extra_args: CONF_FILE=prj_new.conf
|
|
arch_exclude: posix
|
|
tags: libc
|
|
libraries.libc.picolibc.sprintf:
|
|
extra_args: CONF_FILE=prj_picolibc.conf
|
|
tags:
|
|
- libc
|
|
- picolibc
|
|
ignore_faults: true
|
|
filter: CONFIG_PICOLIBC_SUPPORTED
|
|
libraries.libc.picolibc.sprintf_new:
|
|
extra_args: CONF_FILE=prj_picolibc_new.conf
|
|
tags:
|
|
- libc
|
|
- picolibc
|
|
filter: CONFIG_PICOLIBC_SUPPORTED
|
|
libraries.libc.picolibc.sprintf_inexact:
|
|
extra_args: CONF_FILE=prj_picolibc_new.conf
|
|
extra_configs:
|
|
- CONFIG_PICOLIBC_USE_MODULE=y
|
|
- CONFIG_PICOLIBC_IO_FLOAT_EXACT=n
|
|
tags:
|
|
- libc
|
|
- picolibc
|
|
filter: CONFIG_PICOLIBC_SUPPORTED
|