Merge pull request #13835 from miri64/tests/fix/gnrc_netif_single

tests: fix for `GNRC_NETIF_SINGLE`
This commit is contained in:
Martine Lenders 2020-04-08 12:03:55 +02:00 committed by GitHub
commit 6ef0bf9410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -25,6 +25,8 @@ USEMODULE += sock_util
CFLAGS += -DEMCUTE_TOPIC_MAXLEN="249" # 256 - 7
CFLAGS += -DSTDIO_UART_RX_BUFSIZE="512" # Adapt to SHELL_BUFSIZE in app
CFLAGS += -DGNRC_NETIF_SINGLE # Only one interface used and it makes
# shell commands easier
# The test requires some setup and to be run as root
# So it cannot currently be run

View File

@ -4,6 +4,9 @@ RIOTBASE ?= $(CURDIR)/../..
export TAP ?= tap0
CFLAGS += -DGNRC_NETIF_SINGLE # Only one interface used and it makes
# shell commands easier
USEMODULE += sock_dns
USEMODULE += gnrc_sock_udp
USEMODULE += gnrc_ipv6_default

View File

@ -15,6 +15,8 @@ TEST_ON_CI_BLACKLIST += all
CFLAGS += -DSHELL_NO_ECHO
CFLAGS += -DGNRC_TCP_MSL=$(MSL_US)
CFLAGS += -DGNRC_TCP_CONNECTION_TIMEOUT_DURATION=$(TIMEOUT_US)
CFLAGS += -DGNRC_NETIF_SINGLE # Only one interface used and it makes
# shell commands easier
ifeq (native,$(BOARD))
TERMFLAGS ?= $(TAP)