zephyr/samples/net/syslog_net/sample.yaml
Christian Taedcke 61415581a5 samples: net: syslog: Add configs for ipv4- and ipv6-only
This checks if the net logger backend compiles if either ipv4 or ipv6 is
enabled.

Signed-off-by: Christian Taedcke <christian.taedcke@lemonbeat.com>
2020-08-14 18:51:28 -04:00

28 lines
759 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:
extra_configs:
- CONFIG_NEWLIB_LIBC=y
sample.net.syslog.without_timefuncs:
extra_configs:
- CONFIG_NEWLIB_LIBC=n
sample.net.syslog.ipv4_only:
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:
extra_configs:
- CONFIG_NET_IPV4=n
- CONFIG_NET_CONFIG_NEED_IPV4=n
- CONFIG_NET_CONFIG_MY_IPV4_ADDR=""
- CONFIG_NET_CONFIG_PEER_IPV4_ADDR=""