1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

unittests: add an netif before performing nc tests

This commit is contained in:
Oleg Hahm 2015-09-16 21:14:21 +02:00
parent 5644102399
commit 423d6e31f3
2 changed files with 3 additions and 0 deletions

View File

@ -1 +1,2 @@
USEMODULE += gnrc_ipv6_nc
USEMODULE += gnrc_ipv6_netif

View File

@ -18,6 +18,7 @@
#include "net/ipv6/addr.h"
#include "net/gnrc/ipv6/nc.h"
#include "net/gnrc/ipv6/netif.h"
#include "unittests-constants.h"
#include "tests-ipv6_nc.h"
@ -50,6 +51,7 @@
static void set_up(void)
{
gnrc_ipv6_nc_init();
gnrc_ipv6_netif_add(DEFAULT_TEST_NETIF);
}
static void test_ipv6_nc_add__address_registered(void)