zephyr/samples/net/syslog_net/sample.yaml
Jukka Rissanen 6136965251 samples: net: syslog: Add info how to manually start net backend
If CONFIG_LOG_BACKEND_NET_AUTOSTART is disabled, then the syslog
network backend is not started automatically. This option is
enabled by default but it might be that application needs to
start the backend manually if the network is slow to start or
some special routes needs to be set by the application.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
2021-01-26 07:12:14 -05:00

35 lines
1007 B
YAML

common:
harness: net
depends_on: netif
tags: net syslog
sample:
description: syslog network backend
name: syslog_net
tests:
sample.net.syslog.with_timefuncs:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_NEWLIB_LIBC=y
sample.net.syslog.without_timefuncs:
extra_configs:
- CONFIG_NEWLIB_LIBC=n
sample.net.syslog.ipv4_only:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_NET_IPV6=n
- CONFIG_NET_CONFIG_NEED_IPV6=n
- CONFIG_NET_CONFIG_MY_IPV6_ADDR=""
- CONFIG_NET_CONFIG_PEER_IPV6_ADDR=""
- CONFIG_LOG_BACKEND_NET_SERVER="192.0.2.1:514"
sample.net.syslog.ipv6_only:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_NET_IPV4=n
- CONFIG_NET_CONFIG_NEED_IPV4=n
- CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
- CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""
sample.net.syslog.no_autostart:
filter: TOOLCHAIN_HAS_NEWLIB == 1
extra_configs:
- CONFIG_LOG_BACKEND_NET_AUTOSTART=n