From e62066813d80d3e9089fe727349937b1df8453b4 Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 3 Apr 2020 22:53:42 +0200 Subject: [PATCH 1/3] tests/emcute: set `GNRC_NETIF_SINGLE` --- tests/emcute/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/emcute/Makefile b/tests/emcute/Makefile index 69c27ae01d..bde386ca99 100644 --- a/tests/emcute/Makefile +++ b/tests/emcute/Makefile @@ -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 From 81f3fddc1f757cc0ad723e48c5dcd8c8cfe351fc Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Fri, 3 Apr 2020 23:42:52 +0200 Subject: [PATCH 2/3] tests/gnrc_tcp: set `GNRC_NETIF_SINGLE` --- tests/gnrc_tcp/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/gnrc_tcp/Makefile b/tests/gnrc_tcp/Makefile index 09320692b5..98011bfa21 100644 --- a/tests/gnrc_tcp/Makefile +++ b/tests/gnrc_tcp/Makefile @@ -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) From 9bf0a2253ab3e16e6a054e7fed90a1e54448a47e Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Wed, 8 Apr 2020 11:11:41 +0200 Subject: [PATCH 3/3] tests/gnrc_sock_dns: set `GNRC_NETIF_SINGLE` --- tests/gnrc_sock_dns/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/gnrc_sock_dns/Makefile b/tests/gnrc_sock_dns/Makefile index 1a2f8238ef..27fa575476 100644 --- a/tests/gnrc_sock_dns/Makefile +++ b/tests/gnrc_sock_dns/Makefile @@ -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