tests: socket: Enable loopback and net tests

Enable the loopback driver and set up network testing so that it
will not require a SLIP driver. Move values from the extra test
config so that they are always enabled.

Signed-off-by: Patrik Flykt <patrik.flykt@intel.com>
This commit is contained in:
Patrik Flykt 2018-03-21 11:41:56 +02:00 committed by Jukka Rissanen
parent d5a2400b9f
commit 41d21bd123
2 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,6 @@
# Setup for self-contained net testing without requiring a SLIP driver
CONFIG_NET_TEST=y
# General config
CONFIG_NEWLIB_LIBC=y
@ -10,6 +13,7 @@ CONFIG_NET_SOCKETS=y
CONFIG_NET_SOCKETS_POSIX_NAMES=y
# Network driver config
CONFIG_NET_LOOPBACK=y
CONFIG_TEST_RANDOM_GENERATOR=y
# Network address config

View file

@ -1,7 +1,4 @@
tests:
test:
extra_configs:
- CONFIG_NET_TEST=y
- CONFIG_NET_LOOPBACK=y
min_ram: 32
tags: net