Skip to content

Commit

Permalink
tests: lib: cbprintf_fp: add filter for tests using newlib
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Eugeniy Paltsev authored and nashif committed Feb 2, 2021
1 parent ddd73ca commit 97d40cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/lib/cbprintf_fp/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ tests:
- "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
Expand All @@ -43,6 +44,7 @@ tests:
- "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
Expand Down

0 comments on commit 97d40cb

Please sign in to comment.