diff --git a/tests/conn_ip/Makefile b/tests/conn_ip/Makefile index 5a59e80b25..766f2e8221 100644 --- a/tests/conn_ip/Makefile +++ b/tests/conn_ip/Makefile @@ -1,8 +1,6 @@ APPLICATION = conn_ip include ../Makefile.tests_common -RIOTBASE ?= $(CURDIR)/../.. - BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo32-f031 nucleo32-f042 \ nucleo32-l031 nucleo-f030 nucleo-f070 nucleo-f334 nucleo-l053 \ stm32f0discovery telosb weio wsn430-v1_3b wsn430-v1_4 \ diff --git a/tests/cpp11_condition_variable/Makefile b/tests/cpp11_condition_variable/Makefile index ec87907ad2..d7ce2db609 100644 --- a/tests/cpp11_condition_variable/Makefile +++ b/tests/cpp11_condition_variable/Makefile @@ -10,9 +10,6 @@ include ../Makefile.tests_common # not pull in all C++ locale code whenever exceptions are used. BOARD_INSUFFICIENT_MEMORY := nucleo-f334 spark-core stm32f0discovery -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: diff --git a/tests/cpp11_mutex/Makefile b/tests/cpp11_mutex/Makefile index d4db309a05..a9e4cdaf49 100644 --- a/tests/cpp11_mutex/Makefile +++ b/tests/cpp11_mutex/Makefile @@ -10,9 +10,6 @@ include ../Makefile.tests_common # not pull in all C++ locale code whenever exceptions are used. BOARD_INSUFFICIENT_MEMORY := nucleo-f334 spark-core stm32f0discovery -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: diff --git a/tests/cpp11_thread/Makefile b/tests/cpp11_thread/Makefile index 48eb4b3754..012bcc7f2e 100644 --- a/tests/cpp11_thread/Makefile +++ b/tests/cpp11_thread/Makefile @@ -10,9 +10,6 @@ include ../Makefile.tests_common # not pull in all C++ locale code whenever exceptions are used. BOARD_INSUFFICIENT_MEMORY := nucleo-f334 spark-core stm32f0discovery -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: diff --git a/tests/emb6/Makefile b/tests/emb6/Makefile index afd188704d..b85389d27d 100644 --- a/tests/emb6/Makefile +++ b/tests/emb6/Makefile @@ -5,8 +5,6 @@ include ../Makefile.tests_common FEATURES_REQUIRED = periph_gpio periph_spi # for at86rf231 -RIOTBASE ?= $(CURDIR)/../.. - BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-l053 stm32f0discovery telosb \ weio wsn430-v1_3b wsn430-v1_4 z1 diff --git a/tests/fault_handler/Makefile b/tests/fault_handler/Makefile index 24a6601f75..aafcf44bce 100644 --- a/tests/fault_handler/Makefile +++ b/tests/fault_handler/Makefile @@ -2,9 +2,6 @@ APPLICATION = fault_handler include ../Makefile.tests_common -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - CFLAGS += -DDEVELHELP=1 ifeq ($(shell uname),Darwin) diff --git a/tests/gnrc_ipv6_ext/Makefile b/tests/gnrc_ipv6_ext/Makefile index 1bdbf9a6cb..b371396e77 100644 --- a/tests/gnrc_ipv6_ext/Makefile +++ b/tests/gnrc_ipv6_ext/Makefile @@ -2,9 +2,6 @@ APPLICATION = gnrc_ipv6_ext include ../Makefile.tests_common -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - BOARD_INSUFFICIENT_MEMORY := airfy-beacon chronos maple-mini msb-430 msb-430h \ nrf51dongle nrf6310 nucleo32-f031 nucleo32-f042 \ nucleo32-l031 nucleo-f030 nucleo-f103 nucleo-f334 nucleo-l053 \ diff --git a/tests/gnrc_sixlowpan/Makefile b/tests/gnrc_sixlowpan/Makefile index 11db6c36d8..8546a36350 100644 --- a/tests/gnrc_sixlowpan/Makefile +++ b/tests/gnrc_sixlowpan/Makefile @@ -2,9 +2,6 @@ APPLICATION = gnrc_sixlowpan include ../Makefile.tests_common -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - BOARD_INSUFFICIENT_MEMORY := airfy-beacon chronos maple-mini msb-430 msb-430h \ nrf51dongle nrf6310 nucleo32-f031 nucleo32-f042 \ nucleo32-l031 nucleo-f030 nucleo-f070 nucleo-f103 \ diff --git a/tests/gnrc_sock_ip/Makefile b/tests/gnrc_sock_ip/Makefile index 5bb9f12258..b4ecfa7779 100644 --- a/tests/gnrc_sock_ip/Makefile +++ b/tests/gnrc_sock_ip/Makefile @@ -3,8 +3,6 @@ include ../Makefile.tests_common BOARD_INSUFFICIENT_MEMORY := nucleo32-f031 -RIOTBASE ?= $(CURDIR)/../.. - USEMODULE += gnrc_sock_ip USEMODULE += gnrc_ipv6 USEMODULE += ps diff --git a/tests/gnrc_sock_udp/Makefile b/tests/gnrc_sock_udp/Makefile index fddbb27f72..6dac03f4ee 100644 --- a/tests/gnrc_sock_udp/Makefile +++ b/tests/gnrc_sock_udp/Makefile @@ -1,8 +1,6 @@ APPLICATION = gnrc_sock_udp include ../Makefile.tests_common -RIOTBASE ?= $(CURDIR)/../.. - BOARD_INSUFFICIENT_MEMORY := nucleo32-f031 nucleo32-f042 USEMODULE += gnrc_sock_check_reuse diff --git a/tests/gnrc_tcp_client/Makefile b/tests/gnrc_tcp_client/Makefile index 3b444f1fcd..47b574984e 100644 --- a/tests/gnrc_tcp_client/Makefile +++ b/tests/gnrc_tcp_client/Makefile @@ -1,5 +1,6 @@ # name of your application APPLICATION = gnrc_tcp_client +include ../Makefile.tests_common # If no BOARD is found in the environment, use this default: BOARD ?= native @@ -18,9 +19,6 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ pca10000 pca10005 sb-430 sb-430h stm32f0discovery telosb \ weio wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - # Target Address, Target Port and number of Test Cycles CFLAGS += -DTARGET_ADDR=\"$(TCP_TARGET_ADDR)\" CFLAGS += -DTARGET_PORT=$(TCP_TARGET_PORT) @@ -31,9 +29,6 @@ CFLAGS += -DCYCLES=$(TCP_TEST_CYCLES) # development process: #CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - # Modules to include USEMODULE += gnrc_netdev_default USEMODULE += auto_init_gnrc_netif diff --git a/tests/gnrc_tcp_server/Makefile b/tests/gnrc_tcp_server/Makefile index 9b5bbcd458..be7484f22e 100644 --- a/tests/gnrc_tcp_server/Makefile +++ b/tests/gnrc_tcp_server/Makefile @@ -1,5 +1,6 @@ # name of your application APPLICATION = gnrc_tcp_server +include ../Makefile.tests_common # If no BOARD is found in the environment, use this default: BOARD ?= native @@ -16,9 +17,6 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-duemilanove arduino-mega2560 \ pca10000 pca10005 sb-430 sb-430h stm32f0discovery telosb \ weio wsn430-v1_3b wsn430-v1_4 yunjia-nrf51822 z1 -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - # Specify local Port to open CFLAGS += -DLOCAL_PORT=$(TCP_LOCAL_PORT) @@ -27,9 +25,6 @@ CFLAGS += -DLOCAL_PORT=$(TCP_LOCAL_PORT) # development process: #CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - # Modules to include USEMODULE += gnrc_netdev_default USEMODULE += auto_init_gnrc_netif diff --git a/tests/lwip/Makefile b/tests/lwip/Makefile index e49964e3e5..3bd140464f 100644 --- a/tests/lwip/Makefile +++ b/tests/lwip/Makefile @@ -3,8 +3,6 @@ APPLICATION = lwip BOARD ?= iotlab-m3 include ../Makefile.tests_common -RIOTBASE ?= $(CURDIR)/../.. - BOARD_BLACKLIST := arduino-mega2560 msb-430h telosb waspmote-pro z1 arduino-uno \ arduino-duemilanove msb-430 wsn430-v1_4 wsn430-v1_3b BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-mega2560 msb-430h nrf6310 \ diff --git a/tests/malloc/Makefile b/tests/malloc/Makefile index 0fb6291fca..8c3176d04a 100644 --- a/tests/malloc/Makefile +++ b/tests/malloc/Makefile @@ -2,9 +2,6 @@ APPLICATION = malloc include ../Makefile.tests_common -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - # Comment this out to disable code in RIOT that does safety checking # which is not needed in a production environment but helps in the # development process: diff --git a/tests/minimal/Makefile b/tests/minimal/Makefile index 6d1ac3af80..6392ed24ff 100644 --- a/tests/minimal/Makefile +++ b/tests/minimal/Makefile @@ -2,9 +2,6 @@ APPLICATION = minimal include ../Makefile.tests_common -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - # CFLAGS += -DNDEBUG -DLOG_LEVEL=LOG_NONE diff --git a/tests/od/Makefile b/tests/od/Makefile index d18fd28709..29939dec76 100644 --- a/tests/od/Makefile +++ b/tests/od/Makefile @@ -2,9 +2,6 @@ APPLICATION = od include ../Makefile.tests_common -# This has to be the absolute path to the RIOT base directory: -RIOTBASE ?= $(CURDIR)/../.. - USEMODULE += od # Comment this out to disable code in RIOT that does safety checking diff --git a/tests/xtimer_periodic_wakeup/Makefile b/tests/xtimer_periodic_wakeup/Makefile index fb9c82ba85..1dd6ddc42a 100644 --- a/tests/xtimer_periodic_wakeup/Makefile +++ b/tests/xtimer_periodic_wakeup/Makefile @@ -1,8 +1,6 @@ APPLICATION = xtimer_sleep_until include ../Makefile.tests_common -RIOTBASE ?= $(CURDIR)/../.. - BOARD_INSUFFICIENT_MEMORY := chronos USEMODULE += xtimer diff --git a/tests/xtimer_remove/Makefile b/tests/xtimer_remove/Makefile index 8f94eb0290..a60310569b 100644 --- a/tests/xtimer_remove/Makefile +++ b/tests/xtimer_remove/Makefile @@ -1,8 +1,6 @@ APPLICATION = xtimer_remove include ../Makefile.tests_common -RIOTBASE ?= $(CURDIR)/../.. - USEMODULE += xtimer include $(RIOTBASE)/Makefile.include diff --git a/tests/xtimer_reset/Makefile b/tests/xtimer_reset/Makefile index 66c7fbbf76..efa4de579a 100644 --- a/tests/xtimer_reset/Makefile +++ b/tests/xtimer_reset/Makefile @@ -1,8 +1,6 @@ APPLICATION = xtimer_reset include ../Makefile.tests_common -RIOTBASE ?= $(CURDIR)/../.. - USEMODULE += xtimer include $(RIOTBASE)/Makefile.include