zephyr/tests/lib/cbprintf_fp/testcase.yaml
Eugeniy Paltsev 97d40cbe12 tests: lib: cbprintf_fp: add filter for tests using newlib
As some tests are enabling CONFIG_NEWLIB_LIBC, we need to
filter out that tests in case of missing NEWLIB support
in toolchain.
It can be done with 'filter: TOOLCHAIN_HAS_NEWLIB == 1'
filter in testcase.yaml

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2021-02-01 22:07:45 -05:00

75 lines
1.8 KiB
YAML

common:
harness: console
platform_exclude: native_posix native_posix_64 nrf52_bsim
integration_platforms:
- qemu_x86
- qemu_x86_64
tests:
lib.cbprintf_fp.printk:
extra_configs:
- CONFIG_APP_FORMATTER_PRINTK=y
harness_config:
type: multi_line
ordered: true
regex:
- "Hello with printk"
- "Complete"
lib.cbprintf_fp.printf:
extra_configs:
- CONFIG_APP_FORMATTER_PRINTF=y
harness_config:
type: multi_line
ordered: true
regex:
- "Hello with printf"
- "Complete"
lib.cbprintf_fp.printf_nl:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_APP_FORMATTER_PRINTF=y
- CONFIG_NEWLIB_LIBC=y
harness_config:
type: multi_line
ordered: true
regex:
- "Hello with printf/newlib"
- "Complete"
lib.cbprintf_fp.printfcb:
extra_configs:
- CONFIG_APP_FORMATTER_PRINTFCB=y
harness_config:
type: multi_line
ordered: true
regex:
- "Hello with printfcb"
- "Complete"
lib.cbprintf_fp.printfcb_nl:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_APP_FORMATTER_PRINTFCB=y
- CONFIG_NEWLIB_LIBC=y
harness_config:
type: multi_line
ordered: true
regex:
- "Hello with printfcb/newlib"
- "Complete"
lib.cbprintf_fp.fprintf:
extra_configs:
- CONFIG_APP_FORMATTER_FPRINTF=y
harness_config:
type: multi_line
ordered: true
regex:
- "Hello with fprintf"
- "Complete"
lib.cbprintf_fp.fprintfcb:
extra_configs:
- CONFIG_APP_FORMATTER_FPRINTFCB=y
harness_config:
type: multi_line
ordered: true
regex:
- "Hello with fprintfcb"
- "Complete"