From f84e8a37e27f474274dc9d4d3ce2fb0e62d6ac28 Mon Sep 17 00:00:00 2001
From: smlng <s@mlng.net>
Date: Fri, 20 Jan 2017 15:46:53 +0100
Subject: [PATCH] tests: add missing include for Makefile.tests_common

---
 tests/conn_ip/Makefile                  | 1 +
 tests/cpp11_condition_variable/Makefile | 1 +
 tests/cpp11_mutex/Makefile              | 1 +
 tests/cpp11_thread/Makefile             | 1 +
 tests/emb6/Makefile                     | 5 +++--
 tests/fault_handler/Makefile            | 1 +
 tests/gnrc_ipv6_ext/Makefile            | 1 +
 tests/gnrc_sixlowpan/Makefile           | 1 +
 tests/gnrc_sock_ip/Makefile             | 1 +
 tests/gnrc_sock_udp/Makefile            | 1 +
 tests/lwip/Makefile                     | 3 ++-
 tests/lwip_sock_ip/Makefile             | 1 -
 tests/malloc/Makefile                   | 1 +
 tests/minimal/Makefile                  | 1 +
 tests/msg_send_receive/Makefile         | 1 -
 tests/od/Makefile                       | 1 +
 tests/periph_pwm/Makefile               | 2 +-
 tests/periph_rtt/Makefile               | 2 +-
 tests/periph_spi/Makefile               | 2 +-
 tests/periph_timer/Makefile             | 2 +-
 tests/periph_uart/Makefile              | 2 +-
 21 files changed, 22 insertions(+), 10 deletions(-)

diff --git a/tests/conn_ip/Makefile b/tests/conn_ip/Makefile
index 30ee53231f..e488478b72 100644
--- a/tests/conn_ip/Makefile
+++ b/tests/conn_ip/Makefile
@@ -1,4 +1,5 @@
 APPLICATION = conn_ip
+include ../Makefile.tests_common
 
 BOARD ?= native
 
diff --git a/tests/cpp11_condition_variable/Makefile b/tests/cpp11_condition_variable/Makefile
index a3eabd35c8..99416ba413 100644
--- a/tests/cpp11_condition_variable/Makefile
+++ b/tests/cpp11_condition_variable/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = cpp11_condition_variable
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/cpp11_mutex/Makefile b/tests/cpp11_mutex/Makefile
index d47b712036..99e846f94a 100644
--- a/tests/cpp11_mutex/Makefile
+++ b/tests/cpp11_mutex/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = cpp11_mutex
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/cpp11_thread/Makefile b/tests/cpp11_thread/Makefile
index ba74d725ec..e93b7a3429 100644
--- a/tests/cpp11_thread/Makefile
+++ b/tests/cpp11_thread/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = cpp11_thread
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/emb6/Makefile b/tests/emb6/Makefile
index 0d3d48bcd5..24c98a5792 100644
--- a/tests/emb6/Makefile
+++ b/tests/emb6/Makefile
@@ -1,9 +1,10 @@
 APPLICATION = emb6
+# overwrite board, do not set native as default
+BOARD ?= samr21-xpro
+include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_gpio periph_spi  # for at86rf231
 
-BOARD ?= samr21-xpro
-
 RIOTBASE ?= $(CURDIR)/../..
 
 BOARD_INSUFFICIENT_MEMORY := msb-430h stm32f0discovery telosb weio z1
diff --git a/tests/fault_handler/Makefile b/tests/fault_handler/Makefile
index e340ac5eb7..b82d4b873b 100644
--- a/tests/fault_handler/Makefile
+++ b/tests/fault_handler/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = fault_handler
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/gnrc_ipv6_ext/Makefile b/tests/gnrc_ipv6_ext/Makefile
index ded570d0fd..468aafd3a2 100644
--- a/tests/gnrc_ipv6_ext/Makefile
+++ b/tests/gnrc_ipv6_ext/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = gnrc_ipv6_ext
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/gnrc_sixlowpan/Makefile b/tests/gnrc_sixlowpan/Makefile
index 2996c313d8..8fc177864f 100644
--- a/tests/gnrc_sixlowpan/Makefile
+++ b/tests/gnrc_sixlowpan/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = gnrc_sixlowpan
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/gnrc_sock_ip/Makefile b/tests/gnrc_sock_ip/Makefile
index 8c06d87bbe..b7c2923cca 100644
--- a/tests/gnrc_sock_ip/Makefile
+++ b/tests/gnrc_sock_ip/Makefile
@@ -1,4 +1,5 @@
 APPLICATION = gnrc_sock_ip
+include ../Makefile.tests_common
 
 BOARD ?= native
 
diff --git a/tests/gnrc_sock_udp/Makefile b/tests/gnrc_sock_udp/Makefile
index 317782b8fc..95c9ea24fa 100644
--- a/tests/gnrc_sock_udp/Makefile
+++ b/tests/gnrc_sock_udp/Makefile
@@ -1,4 +1,5 @@
 APPLICATION = gnrc_sock_udp
+include ../Makefile.tests_common
 
 BOARD ?= native
 
diff --git a/tests/lwip/Makefile b/tests/lwip/Makefile
index 69c3a6c03e..54a03dbe7c 100644
--- a/tests/lwip/Makefile
+++ b/tests/lwip/Makefile
@@ -1,6 +1,7 @@
 APPLICATION = lwip
-
+# overwrite board, do not set native as default
 BOARD ?= iotlab-m3
+include ../Makefile.tests_common
 
 RIOTBASE ?= $(CURDIR)/../..
 
diff --git a/tests/lwip_sock_ip/Makefile b/tests/lwip_sock_ip/Makefile
index 369b49d039..7076dca5fe 100644
--- a/tests/lwip_sock_ip/Makefile
+++ b/tests/lwip_sock_ip/Makefile
@@ -1,5 +1,4 @@
 APPLICATION = lwip_sock_ip
-
 include ../Makefile.tests_common
 
 # lwIP's memory management doesn't seem to work on non 32-bit platforms at the
diff --git a/tests/malloc/Makefile b/tests/malloc/Makefile
index 8a57b0b309..764e20bfc7 100644
--- a/tests/malloc/Makefile
+++ b/tests/malloc/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = malloc
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/minimal/Makefile b/tests/minimal/Makefile
index 9d01d186e3..97323d58b5 100644
--- a/tests/minimal/Makefile
+++ b/tests/minimal/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = minimal
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/msg_send_receive/Makefile b/tests/msg_send_receive/Makefile
index 93b32e37b9..e8e8a1bc7c 100644
--- a/tests/msg_send_receive/Makefile
+++ b/tests/msg_send_receive/Makefile
@@ -1,6 +1,5 @@
 # name of your application
 APPLICATION = msg_send_receive
-
 include ../Makefile.tests_common
 
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/od/Makefile b/tests/od/Makefile
index 72371e77bf..7f2e09fa4b 100644
--- a/tests/od/Makefile
+++ b/tests/od/Makefile
@@ -1,5 +1,6 @@
 # name of your application
 APPLICATION = od
+include ../Makefile.tests_common
 
 # If no BOARD is found in the environment, use this default:
 BOARD ?= native
diff --git a/tests/periph_pwm/Makefile b/tests/periph_pwm/Makefile
index 237aa5c4b3..2cd25599d0 100644
--- a/tests/periph_pwm/Makefile
+++ b/tests/periph_pwm/Makefile
@@ -1,4 +1,4 @@
-export APPLICATION = periph_pwm
+APPLICATION = periph_pwm
 include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_pwm
diff --git a/tests/periph_rtt/Makefile b/tests/periph_rtt/Makefile
index 869af1510c..013cbacdd5 100644
--- a/tests/periph_rtt/Makefile
+++ b/tests/periph_rtt/Makefile
@@ -1,4 +1,4 @@
-export APPLICATION = periph_rtt
+APPLICATION = periph_rtt
 include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_rtt
diff --git a/tests/periph_spi/Makefile b/tests/periph_spi/Makefile
index cdbf2cc8dc..7f3aae67c4 100644
--- a/tests/periph_spi/Makefile
+++ b/tests/periph_spi/Makefile
@@ -1,4 +1,4 @@
-export APPLICATION = periph_spi
+APPLICATION = periph_spi
 include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_spi
diff --git a/tests/periph_timer/Makefile b/tests/periph_timer/Makefile
index f5458de1dd..9ae3366ca3 100644
--- a/tests/periph_timer/Makefile
+++ b/tests/periph_timer/Makefile
@@ -1,4 +1,4 @@
-export APPLICATION = periph_timer
+APPLICATION = periph_timer
 include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_timer
diff --git a/tests/periph_uart/Makefile b/tests/periph_uart/Makefile
index 90d11466be..d23b7b05ff 100644
--- a/tests/periph_uart/Makefile
+++ b/tests/periph_uart/Makefile
@@ -1,4 +1,4 @@
-export APPLICATION = periph_uart
+APPLICATION = periph_uart
 include ../Makefile.tests_common
 
 FEATURES_REQUIRED = periph_uart
-- 
GitLab