zephyr/samples/net/sockets/websocket_client/sample.yaml
Jukka Rissanen 03c5c0f818 samples: net: Disable native_posix target in more samples
The native_posix compilations fail with various socket
errors like this:

samples/net/sockets/can/src/main.c:65:9: error: implicit \
     declaration of function ‘send’ [-Werror=implicit-function-declaration]
     65 |   ret = send(fd, &sframe, sizeof(sframe), 0);
        |         ^~~~

So disable the native_posix board from networking samples as
native_posix board is not compatible with CONFIG_POSIX_API

This is related to commit b8fc1c4c3e ("samples: net: Disable
native_posix target in samples") but disables more network samples
for native_posix board.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-04-17 14:28:08 +02:00

21 lines
424 B
YAML

common:
tags:
- net
- http
- http_client
- websocket_client
- websocket
min_ram: 35
depends_on: netif
# native_posix does not work with CONFIG_POSIX_API
platform_exclude:
- native_posix
- native_posix/native/64
sample:
description: Websocket client sample
name: websocket_client
tests:
sample.net.sockets.websocket_client:
platform_exclude: intel_adsp/cavs25
harness: net