samples: net: Disable native_posix target in samples
The native_posix compilations fail with various socket errors like this: samples/net/sockets/echo_server/src/udp.c:45:26: error: implicit \ declaration of function ‘socket’ [-Werror=implicit-function-declaration] 45 | data->udp.sock = socket(bind_addr->sa_family, SOCK_DGRAM, | IPPROTO_UDP); Disable the native_posix board from networking samples so that CI can pass. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
300507d43b
commit
b8fc1c4c3e
4 changed files with 15 additions and 0 deletions
|
@ -23,6 +23,8 @@ tests:
|
|||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- native_posix
|
||||
- native_posix/native/64
|
||||
sample.net.sockets.dumb_http_server.netusb_zeroconf:
|
||||
depends_on: usb_device
|
||||
harness: net
|
||||
|
@ -32,3 +34,5 @@ tests:
|
|||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- native_posix
|
||||
- native_posix/native/64
|
||||
|
|
|
@ -90,6 +90,8 @@ tests:
|
|||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- native_posix
|
||||
- native_posix/native/64
|
||||
sample.net.sockets.echo_server.nrf_openthread:
|
||||
extra_args: OVERLAY_CONFIG="overlay-ot.conf"
|
||||
slow: true
|
||||
|
|
|
@ -6,6 +6,9 @@ common:
|
|||
- net
|
||||
- socket
|
||||
- mgmt
|
||||
platform_exclude:
|
||||
- native_posix
|
||||
- native_posix/native/64
|
||||
sample:
|
||||
description: Test network management socket sample
|
||||
name: net_mgmt socket
|
||||
|
|
|
@ -44,6 +44,8 @@ tests:
|
|||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- native_posix
|
||||
- native_posix/native/64
|
||||
sample.net.zperf.device_next_ecm:
|
||||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-usbd_next_ecm.conf"
|
||||
|
@ -66,6 +68,8 @@ tests:
|
|||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- native_posix
|
||||
- native_posix/native/64
|
||||
sample.net.zperf.netusb_rndis:
|
||||
harness: net
|
||||
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
|
||||
|
@ -81,6 +85,8 @@ tests:
|
|||
platform_exclude:
|
||||
- native_sim
|
||||
- native_sim/native/64
|
||||
- native_posix
|
||||
- native_posix/native/64
|
||||
sample.net.zperf.shield:
|
||||
harness: net
|
||||
platform_allow: reel_board
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue