diff --git a/tests/conn_ip/Makefile b/tests/conn_ip/Makefile index 30ee53231f038249a5bcb4c88c6bf588f45b3d88..dec3f7463c5247c401098fed9f1d8de92d12dedd 100644 --- a/tests/conn_ip/Makefile +++ b/tests/conn_ip/Makefile @@ -1,6 +1,5 @@ APPLICATION = conn_ip - -BOARD ?= native +include ../Makefile.tests_common RIOTBASE ?= $(CURDIR)/../.. @@ -18,8 +17,6 @@ USEMODULE += shell USEMODULE += shell_commands USEMODULE += ps -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include test: diff --git a/tests/cpp11_condition_variable/Makefile b/tests/cpp11_condition_variable/Makefile index a3eabd35c8778f01b2fa1638a044bb074d3980aa..70b6b28f463a7747e68bc55e185cf4a7d8499f6a 100644 --- a/tests/cpp11_condition_variable/Makefile +++ b/tests/cpp11_condition_variable/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = cpp11_condition_variable - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # ROM is overflowing for these boards when using # gcc-arm-none-eabi-4.9.3.2015q2-1trusty1 from ppa:terry.guo/gcc-arm-embedded @@ -20,9 +18,6 @@ RIOTBASE ?= $(CURDIR)/../.. # development process: CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - # If you want to add some extra flags when compile c++ files, add these flags # to CXXEXFLAGS variable CXXEXFLAGS += -std=c++11 diff --git a/tests/cpp11_mutex/Makefile b/tests/cpp11_mutex/Makefile index d47b712036351d2cb2a03cf70142826da841a8f1..8d8ae183f80c7aaba52c0388b7398fe8d07abff6 100644 --- a/tests/cpp11_mutex/Makefile +++ b/tests/cpp11_mutex/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = cpp11_mutex - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # ROM is overflowing for these boards when using # gcc-arm-none-eabi-4.9.3.2015q2-1trusty1 from ppa:terry.guo/gcc-arm-embedded @@ -20,9 +18,6 @@ RIOTBASE ?= $(CURDIR)/../.. # development process: CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - # If you want to add some extra flags when compile c++ files, add these flags # to CXXEXFLAGS variable CXXEXFLAGS += -std=c++11 diff --git a/tests/cpp11_thread/Makefile b/tests/cpp11_thread/Makefile index ba74d725ecf30d074436a92a95896b92cc43ba36..42cb9eac5d68be39e7e12ac0b0e073e26e90f1b0 100644 --- a/tests/cpp11_thread/Makefile +++ b/tests/cpp11_thread/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = cpp11_thread - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # ROM is overflowing for these boards when using # gcc-arm-none-eabi-4.9.3.2015q2-1trusty1 from ppa:terry.guo/gcc-arm-embedded @@ -20,9 +18,6 @@ RIOTBASE ?= $(CURDIR)/../.. # development process: CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - # If you want to add some extra flags when compile c++ files, add these flags # to CXXEXFLAGS variable CXXEXFLAGS += -std=c++11 diff --git a/tests/emb6/Makefile b/tests/emb6/Makefile index 0d3d48bcd59e9b96fad59e64ecfc2f448e0ea4fe..d958a2a6e4403b4fe7769887cc45b1e3a73b23aa 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 @@ -35,6 +36,4 @@ DRIVER ?= at86rf231 # include the selected driver USEMODULE += $(DRIVER) -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include diff --git a/tests/fault_handler/Makefile b/tests/fault_handler/Makefile index e340ac5eb768cccf8a26100ab403797fddd64fac..24a6601f75f31b2fecf69ea3c4e9b9cc2d243ae2 100644 --- a/tests/fault_handler/Makefile +++ b/tests/fault_handler/Makefile @@ -1,15 +1,10 @@ # name of your application APPLICATION = fault_handler - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - CFLAGS += -DDEVELHELP=1 ifeq ($(shell uname),Darwin) diff --git a/tests/gnrc_ipv6_ext/Makefile b/tests/gnrc_ipv6_ext/Makefile index ded570d0fd0a0f9c96883b8eadeb55c95248f0ab..e82d67772e2efa1a31fbbc1cc63120ea2fc2ab53 100644 --- a/tests/gnrc_ipv6_ext/Makefile +++ b/tests/gnrc_ipv6_ext/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = gnrc_ipv6_ext - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. @@ -32,9 +30,6 @@ USEMODULE += ps # development process: CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include # This requires ENABLE_DEBUG in gnrc_ipv6.c to be 1 diff --git a/tests/gnrc_sixlowpan/Makefile b/tests/gnrc_sixlowpan/Makefile index 2996c313d8a54635c9278a790f82adb0124d82f5..34ccc73913ac019df07d7e0f71f2c9126e1359f1 100644 --- a/tests/gnrc_sixlowpan/Makefile +++ b/tests/gnrc_sixlowpan/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = gnrc_sixlowpan - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. @@ -28,9 +26,6 @@ USEMODULE += gnrc_pktdump # development process: CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include test: diff --git a/tests/gnrc_sock_ip/Makefile b/tests/gnrc_sock_ip/Makefile index 8c06d87bbe1755eaa53ae14d3e3d62b76e30e7a2..14fb094a97c5d572dddf6477fdc2482d1f21e949 100644 --- a/tests/gnrc_sock_ip/Makefile +++ b/tests/gnrc_sock_ip/Makefile @@ -1,6 +1,5 @@ APPLICATION = gnrc_sock_ip - -BOARD ?= native +include ../Makefile.tests_common RIOTBASE ?= $(CURDIR)/../.. @@ -12,8 +11,6 @@ CFLAGS += -DDEVELHELP CFLAGS += -DGNRC_PKTBUF_SIZE=200 CFLAGS += -DTEST_SUITES -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include test: diff --git a/tests/gnrc_sock_udp/Makefile b/tests/gnrc_sock_udp/Makefile index 317782b8fc85f78502706c6e87ef4d09c1446dc7..d880fb6f4f134f18f43215338b0285a6e1537183 100644 --- a/tests/gnrc_sock_udp/Makefile +++ b/tests/gnrc_sock_udp/Makefile @@ -1,6 +1,5 @@ APPLICATION = gnrc_sock_udp - -BOARD ?= native +include ../Makefile.tests_common RIOTBASE ?= $(CURDIR)/../.. @@ -15,8 +14,6 @@ CFLAGS += -DDEVELHELP CFLAGS += -DGNRC_PKTBUF_SIZE=400 CFLAGS += -DTEST_SUITES -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include test: diff --git a/tests/lwip/Makefile b/tests/lwip/Makefile index 69c3a6c03e1bad71389be63117036255526b0f96..38c10c2841ca72f5d394ae2e8919a60af8b98178 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)/../.. @@ -43,8 +44,6 @@ endif USEMODULE += $(DRIVER) -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include test: diff --git a/tests/lwip_sock_ip/Makefile b/tests/lwip_sock_ip/Makefile index 369b49d039b2bb5ca0e6c5fa57972c2bc59211fb..7076dca5fe4c386db54a71661bf00677c31e2276 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 8a57b0b309aacdaa018b927c8797b2c49f54e857..0fb6291fcae342d3cd40ffa24545f6db5a6112b1 100644 --- a/tests/malloc/Makefile +++ b/tests/malloc/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = malloc - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. @@ -12,7 +10,4 @@ RIOTBASE ?= $(CURDIR)/../.. # development process: CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include diff --git a/tests/minimal/Makefile b/tests/minimal/Makefile index 9d01d186e3811b1bdc9abdd1400e3b764a9c60de..6d1ac3af807003cd3ba42b7f71c8d830be288e57 100644 --- a/tests/minimal/Makefile +++ b/tests/minimal/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = minimal - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. @@ -13,7 +11,4 @@ CFLAGS += -DNDEBUG -DLOG_LEVEL=LOG_NONE # DISABLE_MODULE += auto_init -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include diff --git a/tests/msg_send_receive/Makefile b/tests/msg_send_receive/Makefile index 93b32e37b92c93bffc0f697fa45db099089cbb00..e8e8a1bc7c22e31391005a5c15b85a45fb15fe48 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 72371e77bf870ec72ef6c87dbf5be8a0b96ced00..d18fd28709a6b9fe6477e637e43a279d6cde6aa5 100644 --- a/tests/od/Makefile +++ b/tests/od/Makefile @@ -1,8 +1,6 @@ # name of your application APPLICATION = od - -# If no BOARD is found in the environment, use this default: -BOARD ?= native +include ../Makefile.tests_common # This has to be the absolute path to the RIOT base directory: RIOTBASE ?= $(CURDIR)/../.. @@ -14,9 +12,6 @@ USEMODULE += od # development process: CFLAGS += -DDEVELHELP -# Change this to 0 show compiler invocation lines by default: -QUIET ?= 1 - include $(RIOTBASE)/Makefile.include test: diff --git a/tests/periph_pwm/Makefile b/tests/periph_pwm/Makefile index 237aa5c4b30d1609363f03da6c72890f851fea48..2cd25599d0675aafe94ff9e51ab5cf06444a4dfe 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_rtc/Makefile b/tests/periph_rtc/Makefile index b72b0f6a9e726af9370b1bdce6fccf99302444c6..e7bf23af6a8d979cc5ba8628061c0663efe00fd3 100644 --- a/tests/periph_rtc/Makefile +++ b/tests/periph_rtc/Makefile @@ -1,4 +1,4 @@ -export APPLICATION = periph_rtc +APPLICATION = periph_rtc include ../Makefile.tests_common FEATURES_REQUIRED = periph_rtc diff --git a/tests/periph_rtt/Makefile b/tests/periph_rtt/Makefile index 869af1510c36119dafa902ccb4543f7aaef0bf3d..013cbacdd59bb9c56a44a391f779aba222557f19 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 cdbf2cc8dc0c172f1b57d60afb5f703495450207..7f3aae67c4c8998aa0e7d95c80b975d41804d898 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 f5458de1dd1a061d89024c7da88ebb5c264afb3a..9ae3366ca31d709e9cc7c4da3cf598b12697da0b 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 90d11466bef750b48abc7dd1f1c378cc0a6b3cdb..d23b7b05ff14fa4f52d71d1b0e2e5e4d243499fb 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 diff --git a/tests/xtimer_periodic_wakeup/Makefile b/tests/xtimer_periodic_wakeup/Makefile index de65332774a84b45caacbe4683944417048a3914..fb9c82ba85912b1a9f08b5608e4c90870ca1c29e 100644 --- a/tests/xtimer_periodic_wakeup/Makefile +++ b/tests/xtimer_periodic_wakeup/Makefile @@ -1,7 +1,6 @@ APPLICATION = xtimer_sleep_until include ../Makefile.tests_common -BOARD ?= native RIOTBASE ?= $(CURDIR)/../.. BOARD_INSUFFICIENT_MEMORY := chronos diff --git a/tests/xtimer_remove/Makefile b/tests/xtimer_remove/Makefile index b265257919709602d5c0d013a3872ddcf8b5adc0..8f94eb0290e60aa95a3b351581ab011f84d5c949 100644 --- a/tests/xtimer_remove/Makefile +++ b/tests/xtimer_remove/Makefile @@ -1,7 +1,6 @@ APPLICATION = xtimer_remove include ../Makefile.tests_common -BOARD ?= native RIOTBASE ?= $(CURDIR)/../.. USEMODULE += xtimer diff --git a/tests/xtimer_reset/Makefile b/tests/xtimer_reset/Makefile index 1fe16770e9c496fd623d0aad781ff4693e85057f..66c7fbbf76f1d2b5d4deace8013158770c1990c9 100644 --- a/tests/xtimer_reset/Makefile +++ b/tests/xtimer_reset/Makefile @@ -1,7 +1,6 @@ APPLICATION = xtimer_reset include ../Makefile.tests_common -BOARD ?= native RIOTBASE ?= $(CURDIR)/../.. USEMODULE += xtimer diff --git a/tests/zep/Makefile b/tests/zep/Makefile index 529ab8487f9786a455beec8b7c209f8a82161123..260510077378ccba2dbf251cd13daf6f6d0644e7 100644 --- a/tests/zep/Makefile +++ b/tests/zep/Makefile @@ -14,7 +14,6 @@ USEMODULE += gnrc_pktdump USEMODULE += shell USEMODULE += shell_commands - # set optional default values for ZEP parameters if unset ZEP_DST ?= "\"::1\"" ZEP_SRC_PORT ?= GNRC_ZEP_DEFAULT_PORT