Skip to content

Commit 494faf3

Browse files
cfriedtcarlescufi
authored andcommitted
tests: net: socketpair: coverage for all C libraries
Previously, the test was only run for configurations that used the Newlib C library. However, socketpair runs equally well under the minimal libc, and picolibc, as well as the native libc. Signed-off-by: Chris Friedt <[email protected]>
1 parent b9fe11c commit 494faf3

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

tests/net/socket/socketpair/prj.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# General config
2-
CONFIG_NEWLIB_LIBC=y
3-
41
# Networking config
52
CONFIG_NETWORKING=y
63
CONFIG_NET_TEST=y
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
common:
22
tags: net socket userspace
3-
filter: TOOLCHAIN_HAS_NEWLIB == 1
43
platform_exclude: intel_adsp_cavs15
54
depends_on: netif
5+
min_ram: 21
66
tests:
7-
net.socket.socketpair:
8-
min_ram: 21
7+
net.socket.socketpair: {}
8+
net.socket.socketpair.newlib:
9+
filter: TOOLCHAIN_HAS_NEWLIB == 1
10+
extra_configs:
11+
- CONFIG_NEWLIB_LIBC=y
12+
net.socket.socketpair.picolibc:
13+
filter: CONFIG_PICOLIBC_SUPPORTED
14+
extra_configs:
15+
- CONFIG_PICOLIBC=y

0 commit comments

Comments
 (0)