mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
6481076866
This test needs the pool size for limit objects set to 3 by default so it does not fail. As this is done with the 'app.config' file, we explicitly disable Kconfig by default.
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
DEVELHELP := 1
|
|
# name of your application
|
|
include ../Makefile.tests_common
|
|
|
|
export TAP ?= tap0
|
|
|
|
CFLAGS += -DOUTPUT=TEXT
|
|
CFLAGS += -DTEST_SUITES="gnrc_ipv6_ext_frag"
|
|
|
|
ifeq (native,$(BOARD))
|
|
TERMFLAGS ?= $(TAP)
|
|
else
|
|
ETHOS_BAUDRATE ?= 115200
|
|
CFLAGS += -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE)
|
|
TERMDEPS += ethos
|
|
TERMPROG ?= sudo $(RIOTTOOLS)/ethos/ethos
|
|
TERMFLAGS ?= $(TAP) $(PORT) $(ETHOS_BAUDRATE)
|
|
endif
|
|
USEMODULE += auto_init_gnrc_netif
|
|
# add dummy interface to test forwarding to smaller MTU
|
|
USEMODULE += netdev_test
|
|
GNRC_NETIF_NUMOF := 2
|
|
# Specify the mandatory networking modules for IPv6
|
|
USEMODULE += gnrc_ipv6_router_default
|
|
USEMODULE += gnrc_icmpv6_error
|
|
USEMODULE += gnrc_pktdump
|
|
USEMODULE += gnrc_pktbuf_cmd
|
|
# IPv6 extension headers
|
|
USEMODULE += gnrc_ipv6_ext_frag
|
|
# UDP support for payload
|
|
USEMODULE += gnrc_udp
|
|
USEMODULE += od
|
|
# Add unittest framework
|
|
USEMODULE += embunit
|
|
# Add also the shell, some shell commands
|
|
USEMODULE += shell
|
|
USEMODULE += shell_commands
|
|
USEMODULE += ps
|
|
|
|
# The test requires some setup and to be run as root
|
|
# So it cannot currently be run
|
|
TEST_ON_CI_BLACKLIST += all
|
|
|
|
# As there is an 'app.config' we want to explicitly disable Kconfig by setting
|
|
# the variable to empty
|
|
SHOULD_RUN_KCONFIG ?=
|
|
|
|
.PHONY: ethos
|
|
|
|
ethos:
|
|
$(Q)env -u CC -u CFLAGS make -C $(RIOTTOOLS)/ethos
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
# Set the pool size for limit objects if not being set by Kconfig
|
|
ifndef CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE
|
|
CFLAGS += -DCONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE=3
|
|
endif
|