Skip to content

Commit 97d40cb

Browse files
Eugeniy Paltsevnashif
authored andcommitted
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 <[email protected]>
1 parent ddd73ca commit 97d40cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/lib/cbprintf_fp/testcase.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ tests:
2424
- "Hello with printf"
2525
- "Complete"
2626
lib.cbprintf_fp.printf_nl:
27+
filter: TOOLCHAIN_HAS_NEWLIB == 1
2728
extra_configs:
2829
- CONFIG_APP_FORMATTER_PRINTF=y
2930
- CONFIG_NEWLIB_LIBC=y
@@ -43,6 +44,7 @@ tests:
4344
- "Hello with printfcb"
4445
- "Complete"
4546
lib.cbprintf_fp.printfcb_nl:
47+
filter: TOOLCHAIN_HAS_NEWLIB == 1
4648
extra_configs:
4749
- CONFIG_APP_FORMATTER_PRINTFCB=y
4850
- CONFIG_NEWLIB_LIBC=y

0 commit comments

Comments
 (0)