zephyr/tests/net/socket/tcp/testcase.yaml
Jukka Rissanen 4fefde2f09 tests: net: socket: Add tests for tracing
Make sure we at least build test the network socket tracing
support. The tracing tests do not enable networking so do the
socket tracing tests here.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-06-26 15:49:43 +02:00

32 lines
884 B
YAML

common:
depends_on: netif
min_ram: 32
tags:
- net
- socket
- userspace
filter: CONFIG_FULL_LIBC_SUPPORTED
timeout: 180
# FIXME: This test fails very frequently on mps2/an385 due to the system
# timer stability issues, so keep it disabled until the root cause
# is fixed (GitHub issue zephyrproject-rtos/zephyr#48608).
platform_exclude: mps2/an385
tests:
net.socket.tcp:
extra_configs:
- CONFIG_NET_TC_THREAD_COOPERATIVE=y
net.socket.tcp.preempt:
extra_configs:
- CONFIG_NET_TC_THREAD_PREEMPTIVE=y
- CONFIG_NET_TCP_RANDOMIZED_RTO=n
net.socket.tcp.tracing:
platform_allow:
- native_sim
- native_sim/native/64
extra_configs:
- CONFIG_TRACING=y
- CONFIG_TRACING_CTF=y
- CONFIG_TRACING_BACKEND_POSIX=y
- CONFIG_TRACING_PACKET_MAX_SIZE=256
- CONFIG_TRACING_SYNC=y