Skip to content

Commit

Permalink
samples/tests: filter based on toolchain features
Browse files Browse the repository at this point in the history
Do not run with toolchains that do not support newlib.

Signed-off-by: Anas Nashif <[email protected]>
  • Loading branch information
nashif authored and galak committed Feb 8, 2019
1 parent fc3d8ac commit 74c5736
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion samples/net/sockets/big_http_download/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sample:
name: big_http_download
tests:
test:
platform_exclude: esp32 qemu_x86_64 # No newlib
filter: TOOLCHAIN_HAS_NEWLIB == 1
harness: net
min_ram: 32
min_flash: 128
Expand Down
2 changes: 1 addition & 1 deletion samples/net/sockets/dumb_http_server/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sample:
name: socket_dumb_http_server
tests:
test:
platform_exclude: esp32 qemu_x86_64 # No newlib
filter: TOOLCHAIN_HAS_NEWLIB == 1
harness: net
min_ram: 32
min_flash: 96
Expand Down
2 changes: 1 addition & 1 deletion samples/net/sockets/http_get/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sample:
name: socket_http_get
tests:
test:
platform_exclude: esp32 qemu_x86_64 # No newlib
filter: TOOLCHAIN_HAS_NEWLIB == 1
harness: net
min_ram: 32
min_flash: 80
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/mem_alloc/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ tests:
libraries.libc.newlib:
extra_args: CONF_FILE=prj_newlib.conf
arch_exclude: posix
platform_exclude: esp32 qemu_x86_64 # No newlib
filter: TOOLCHAIN_HAS_NEWLIB == 1
tags: clib newlib
2 changes: 1 addition & 1 deletion tests/misc/test_build/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tests:
build_only: true
extra_args: CONF_FILE=newlib.conf
tags: build_test
platform_exclude: esp32 qemu_x86_64
filter: TOOLCHAIN_HAS_NEWLIB == 1
test_runtime_nmi:
arch_whitelist: arm
build_only: true
Expand Down

0 comments on commit 74c5736

Please sign in to comment.