37 lines
747 B
Plaintext
37 lines
747 B
Plaintext
# General config
|
|
CONFIG_REQUIRES_FULL_LIBC=y
|
|
|
|
# Networking config
|
|
CONFIG_NETWORKING=y
|
|
CONFIG_NET_TEST=y
|
|
CONFIG_NET_DRIVERS=y
|
|
CONFIG_NET_LOOPBACK=y
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=y
|
|
CONFIG_NET_SOCKETS=y
|
|
CONFIG_NET_SOCKETS_POSIX_NAMES=y
|
|
CONFIG_NET_L2_ETHERNET=n
|
|
|
|
# Network driver config
|
|
CONFIG_TEST_RANDOM_GENERATOR=y
|
|
|
|
# Enable the DNS resolver
|
|
CONFIG_DNS_RESOLVER=y
|
|
CONFIG_DNS_SERVER_IP_ADDRESSES=y
|
|
|
|
# Use local server for testing.
|
|
CONFIG_DNS_SERVER1="[::1]:15353"
|
|
CONFIG_DNS_SERVER2="127.0.0.1:15353"
|
|
|
|
CONFIG_MAIN_STACK_SIZE=2048
|
|
CONFIG_ZTEST=y
|
|
|
|
# User mode requirements
|
|
CONFIG_TEST_USERSPACE=y
|
|
CONFIG_HEAP_MEM_POOL_SIZE=128
|
|
|
|
# We do not need neighbor discovery etc for this test
|
|
CONFIG_NET_IPV6_DAD=n
|
|
CONFIG_NET_IPV6_ND=n
|
|
CONFIG_NET_IPV6_MLD=n
|