Skip to content
Permalink
Browse files

tests: net: trickle: Adjust config options to avoid error prints

Noticed this error print when running in mps2_an385 platform.

   <err> net_if: There is no network interface to work with!

Adding CONFIG_NET_LOOPBACK=y removes this error. After this
the CONFIG_NET_IPV6_MLD=n needed to be added in order to avoid
crashes when IPv6 MLD is done which is not needed for this test.

Removed also the whitelisting as that is not really needed and
we want to run these in as many platforms as possible.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
  • Loading branch information...
jukkar committed Jul 3, 2019
1 parent c016cd2 commit 600c1d6fa77cb4a0ce5f1ec172daec82535e42ac
Showing with 3 additions and 2 deletions.
  1. +2 −0 tests/net/trickle/prj.conf
  2. +1 −2 tests/net/trickle/testcase.yaml
@@ -16,3 +16,5 @@ CONFIG_NET_BUF_TX_COUNT=5
CONFIG_NET_TRICKLE=y
CONFIG_ZTEST=y
CONFIG_ZTEST_STACKSIZE=1024
CONFIG_NET_LOOPBACK=y
CONFIG_NET_IPV6_MLD=n
@@ -1,7 +1,6 @@
common:
depends_on: netif
platform_whitelist: native_posix qemu_x86 qemu_cortex_m3
tags: net trickle
tests:
net.trickle:
min_ram: 12
tags: net trickle

0 comments on commit 600c1d6

Please sign in to comment.
You can’t perform that action at this time.