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>
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
sample:
|
|
description: BSD Sockets API dumb HTTP server example
|
|
name: socket_dumb_http_server
|
|
common:
|
|
filter: CONFIG_FULL_LIBC_SUPPORTED and not CONFIG_NATIVE_LIBC
|
|
harness: net
|
|
min_ram: 32
|
|
min_flash: 96
|
|
tags:
|
|
- net
|
|
- socket
|
|
platform_exclude: intel_adsp/cavs25
|
|
tests:
|
|
sample.net.sockets.dumb_http_server:
|
|
extra_configs:
|
|
- CONFIG_POSIX_API=y
|
|
sample.net.sockets.dumb_http_server.netusb:
|
|
depends_on: usb_device
|
|
harness: net
|
|
extra_args: OVERLAY_CONFIG="overlay-netusb.conf"
|
|
tags: usb
|
|
# native_sim usb driver does not work with CONFIG_POSIX_API
|
|
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
|
|
extra_args: OVERLAY_CONFIG="overlay-netusb.conf;overlay-zeroconf.conf"
|
|
tags: usb
|
|
# native_sim usb driver does not work with CONFIG_POSIX_API
|
|
platform_exclude:
|
|
- native_sim
|
|
- native_sim/native/64
|
|
- native_posix
|
|
- native_posix/native/64
|