Skip to content

Commit 74c5736

Browse files
nashifgalak
authored andcommitted
samples/tests: filter based on toolchain features
Do not run with toolchains that do not support newlib. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent fc3d8ac commit 74c5736

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

samples/net/sockets/big_http_download/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
name: big_http_download
44
tests:
55
test:
6-
platform_exclude: esp32 qemu_x86_64 # No newlib
6+
filter: TOOLCHAIN_HAS_NEWLIB == 1
77
harness: net
88
min_ram: 32
99
min_flash: 128

samples/net/sockets/dumb_http_server/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
name: socket_dumb_http_server
44
tests:
55
test:
6-
platform_exclude: esp32 qemu_x86_64 # No newlib
6+
filter: TOOLCHAIN_HAS_NEWLIB == 1
77
harness: net
88
min_ram: 32
99
min_flash: 96

samples/net/sockets/http_get/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sample:
33
name: socket_http_get
44
tests:
55
test:
6-
platform_exclude: esp32 qemu_x86_64 # No newlib
6+
filter: TOOLCHAIN_HAS_NEWLIB == 1
77
harness: net
88
min_ram: 32
99
min_flash: 80

tests/lib/mem_alloc/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ tests:
66
libraries.libc.newlib:
77
extra_args: CONF_FILE=prj_newlib.conf
88
arch_exclude: posix
9-
platform_exclude: esp32 qemu_x86_64 # No newlib
9+
filter: TOOLCHAIN_HAS_NEWLIB == 1
1010
tags: clib newlib

tests/misc/test_build/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tests:
77
build_only: true
88
extra_args: CONF_FILE=newlib.conf
99
tags: build_test
10-
platform_exclude: esp32 qemu_x86_64
10+
filter: TOOLCHAIN_HAS_NEWLIB == 1
1111
test_runtime_nmi:
1212
arch_whitelist: arm
1313
build_only: true

0 commit comments

Comments
 (0)