From 472bd0ae019b53599e283f9596729c2db52a660b Mon Sep 17 00:00:00 2001
From: Kaspar Schleiser <kaspar@schleiser.de>
Date: Thu, 12 Jul 2018 23:19:51 +0200
Subject: [PATCH] tests: remove obsolete local test targets

---
 tests/bench_msg_pingpong/Makefile          |  3 ---
 tests/bench_mutex_pingpong/Makefile        |  3 ---
 tests/bench_sched_nop/Makefile             |  3 ---
 tests/bench_thread_flags_pingpong/Makefile |  3 ---
 tests/bench_thread_yield_pingpong/Makefile |  3 ---
 tests/bitarithm_timings/Makefile           |  3 ---
 tests/bloom_bytes/Makefile                 |  3 ---
 tests/buttons/Makefile                     |  3 ---
 tests/cb_mux/Makefile                      |  3 ---
 tests/cb_mux_bench/Makefile                |  3 ---
 tests/cbor/Makefile                        |  3 ---
 tests/cpp11_condition_variable/Makefile    |  3 ---
 tests/cpp11_mutex/Makefile                 |  3 ---
 tests/cpp11_thread/Makefile                |  3 ---
 tests/driver_ds1307/Makefile               |  3 ---
 tests/driver_grove_ledbar/Makefile         |  3 ---
 tests/driver_hd44780/Makefile              |  3 ---
 tests/driver_my9221/Makefile               |  3 ---
 tests/events/Makefile                      |  3 ---
 tests/evtimer_msg/Makefile                 |  3 ---
 tests/evtimer_underflow/Makefile           |  3 ---
 tests/float/Makefile                       |  3 ---
 tests/fmt_print/Makefile                   |  3 ---
 tests/gnrc_ipv6_ext/Makefile               |  6 ++----
 tests/gnrc_ipv6_nib/Makefile               |  3 ---
 tests/gnrc_ipv6_nib_6ln/Makefile           |  3 ---
 tests/gnrc_ndp/Makefile                    |  3 ---
 tests/gnrc_netif/Makefile                  |  3 ---
 tests/gnrc_sixlowpan/Makefile              |  3 ---
 tests/gnrc_sock_ip/Makefile                |  3 ---
 tests/gnrc_sock_udp/Makefile               |  3 ---
 tests/irq/Makefile                         |  3 ---
 tests/isr_yield_higher/Makefile            |  3 ---
 tests/libc_newlib/Makefile                 |  4 ----
 tests/libfixmath/Makefile                  |  3 ---
 tests/libfixmath_unittests/Makefile        |  3 ---
 tests/lwip/Makefile                        | 11 +++++++----
 tests/lwip_sock_ip/Makefile                |  3 ---
 tests/lwip_sock_tcp/Makefile               |  3 ---
 tests/lwip_sock_udp/Makefile               |  3 ---
 tests/msg_avail/Makefile                   |  3 ---
 tests/msg_send_receive/Makefile            |  3 ---
 tests/msg_try_receive/Makefile             |  3 ---
 tests/mutex_order/Makefile                 |  3 ---
 tests/mutex_unlock_and_sleep/Makefile      |  3 ---
 tests/netdev_test/Makefile                 |  3 ---
 tests/netstats_l2/Makefile                 |  3 ---
 tests/nhdp/Makefile                        |  3 ---
 tests/od/Makefile                          |  9 ++++-----
 tests/periph_timer/Makefile                |  3 ---
 tests/pipe/Makefile                        |  3 ---
 tests/pkg_cayenne-lpp/Makefile             |  3 ---
 tests/pkg_fatfs_vfs/Makefile               |  5 ++---
 tests/pkg_jsmn/Makefile                    |  3 ---
 tests/pkg_libcoap/Makefile                 |  3 ---
 tests/pkg_micro-ecc-with-hwrng/Makefile    |  3 ---
 tests/pkg_micro-ecc/Makefile               |  3 ---
 tests/pkg_minmea/Makefile                  |  3 ---
 tests/pkg_monocypher/Makefile              |  3 ---
 tests/pkg_tiny-asn1/Makefile               |  3 ---
 tests/pkg_tinycbor/Makefile                |  3 ---
 tests/pkg_tinycrypt/Makefile               |  3 ---
 tests/pkg_u8g2/Makefile                    |  3 ---
 tests/pkg_ucglib/Makefile                  |  3 ---
 tests/pkg_umorse/Makefile                  |  3 ---
 tests/posix_semaphore/Makefile             |  3 ---
 tests/posix_time/Makefile                  |  3 ---
 tests/ps_schedstatistics/Makefile          |  3 ---
 tests/pthread/Makefile                     |  3 ---
 tests/pthread_barrier/Makefile             |  3 ---
 tests/pthread_cleanup/Makefile             |  3 ---
 tests/pthread_condition_variable/Makefile  |  3 ---
 tests/pthread_cooperation/Makefile         |  3 ---
 tests/pthread_rwlock/Makefile              |  3 ---
 tests/pthread_tls/Makefile                 |  3 ---
 tests/rmutex/Makefile                      |  3 ---
 tests/rng/Makefile                         |  3 ---
 tests/sched_testing/Makefile               |  3 ---
 tests/shell/Makefile                       |  3 ---
 tests/sizeof_tcb/Makefile                  |  3 ---
 tests/socket_zep/Makefile                  |  3 ---
 tests/ssp/Makefile                         |  3 ---
 tests/struct_tm_utility/Makefile           |  3 ---
 tests/thread_basic/Makefile                |  3 ---
 tests/thread_cooperation/Makefile          |  3 ---
 tests/thread_exit/Makefile                 |  3 ---
 tests/thread_flags/Makefile                |  3 ---
 tests/thread_flags_xtimer/Makefile         |  3 ---
 tests/thread_flood/Makefile                |  3 ---
 tests/thread_msg/Makefile                  |  3 ---
 tests/thread_msg_block_w_queue/Makefile    |  3 ---
 tests/thread_msg_block_wo_queue/Makefile   |  3 ---
 tests/thread_msg_seq/Makefile              |  3 ---
 tests/thread_race/Makefile                 |  3 ---
 tests/trace/Makefile                       |  5 -----
 tests/trickle/Makefile                     |  3 ---
 tests/unittests/Makefile                   |  3 ---
 tests/warn_conflict/Makefile               |  3 ---
 tests/xtimer_hang/Makefile                 |  3 ---
 tests/xtimer_msg/Makefile                  |  3 ---
 tests/xtimer_msg_receive_timeout/Makefile  |  3 ---
 tests/xtimer_now64_continuity/Makefile     |  3 ---
 tests/xtimer_periodic_wakeup/Makefile      |  3 ---
 tests/xtimer_remove/Makefile               |  3 ---
 tests/xtimer_reset/Makefile                |  3 ---
 tests/xtimer_usleep/Makefile               |  3 ---
 tests/xtimer_usleep_short/Makefile         |  3 ---
 107 files changed, 15 insertions(+), 328 deletions(-)

diff --git a/tests/bench_msg_pingpong/Makefile b/tests/bench_msg_pingpong/Makefile
index 85437c51a2..d2da7702d4 100644
--- a/tests/bench_msg_pingpong/Makefile
+++ b/tests/bench_msg_pingpong/Makefile
@@ -7,6 +7,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/bench_mutex_pingpong/Makefile b/tests/bench_mutex_pingpong/Makefile
index 85437c51a2..d2da7702d4 100644
--- a/tests/bench_mutex_pingpong/Makefile
+++ b/tests/bench_mutex_pingpong/Makefile
@@ -7,6 +7,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/bench_sched_nop/Makefile b/tests/bench_sched_nop/Makefile
index d81df6d3c9..1079b0a411 100644
--- a/tests/bench_sched_nop/Makefile
+++ b/tests/bench_sched_nop/Makefile
@@ -5,6 +5,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/bench_thread_flags_pingpong/Makefile b/tests/bench_thread_flags_pingpong/Makefile
index 3ce9af7db3..30365019cc 100644
--- a/tests/bench_thread_flags_pingpong/Makefile
+++ b/tests/bench_thread_flags_pingpong/Makefile
@@ -8,6 +8,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/bench_thread_yield_pingpong/Makefile b/tests/bench_thread_yield_pingpong/Makefile
index 85437c51a2..d2da7702d4 100644
--- a/tests/bench_thread_yield_pingpong/Makefile
+++ b/tests/bench_thread_yield_pingpong/Makefile
@@ -7,6 +7,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/bitarithm_timings/Makefile b/tests/bitarithm_timings/Makefile
index d81df6d3c9..1079b0a411 100644
--- a/tests/bitarithm_timings/Makefile
+++ b/tests/bitarithm_timings/Makefile
@@ -5,6 +5,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/bloom_bytes/Makefile b/tests/bloom_bytes/Makefile
index 7e6e7aed9c..1c4de258ca 100644
--- a/tests/bloom_bytes/Makefile
+++ b/tests/bloom_bytes/Makefile
@@ -13,6 +13,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/buttons/Makefile b/tests/buttons/Makefile
index 60c6acb35b..125669948d 100644
--- a/tests/buttons/Makefile
+++ b/tests/buttons/Makefile
@@ -6,6 +6,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/cb_mux/Makefile b/tests/cb_mux/Makefile
index 85812a0d9d..1d81780e2f 100644
--- a/tests/cb_mux/Makefile
+++ b/tests/cb_mux/Makefile
@@ -5,6 +5,3 @@ USEMODULE += cb_mux
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/cb_mux_bench/Makefile b/tests/cb_mux_bench/Makefile
index 61b37720f2..ba66ca98ba 100644
--- a/tests/cb_mux_bench/Makefile
+++ b/tests/cb_mux_bench/Makefile
@@ -6,6 +6,3 @@ USEMODULE += cb_mux \
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/cbor/Makefile b/tests/cbor/Makefile
index e81b1b6498..e6e5f58637 100644
--- a/tests/cbor/Makefile
+++ b/tests/cbor/Makefile
@@ -19,6 +19,3 @@ USEMODULE += cbor_float
 USEMODULE += cbor_semantic_tagging
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/cpp11_condition_variable/Makefile b/tests/cpp11_condition_variable/Makefile
index 36619ae282..9daa1b532c 100644
--- a/tests/cpp11_condition_variable/Makefile
+++ b/tests/cpp11_condition_variable/Makefile
@@ -19,6 +19,3 @@ USEMODULE += timex
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/cpp11_mutex/Makefile b/tests/cpp11_mutex/Makefile
index 80a4fcc9ec..a17376ae96 100644
--- a/tests/cpp11_mutex/Makefile
+++ b/tests/cpp11_mutex/Makefile
@@ -18,6 +18,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/cpp11_thread/Makefile b/tests/cpp11_thread/Makefile
index 36619ae282..9daa1b532c 100644
--- a/tests/cpp11_thread/Makefile
+++ b/tests/cpp11_thread/Makefile
@@ -19,6 +19,3 @@ USEMODULE += timex
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/driver_ds1307/Makefile b/tests/driver_ds1307/Makefile
index a8cff31b41..9f9eb79bca 100644
--- a/tests/driver_ds1307/Makefile
+++ b/tests/driver_ds1307/Makefile
@@ -5,6 +5,3 @@ USEMODULE += embunit
 USEMODULE += xtimer
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/driver_grove_ledbar/Makefile b/tests/driver_grove_ledbar/Makefile
index 4207ffc30e..e72beecab5 100644
--- a/tests/driver_grove_ledbar/Makefile
+++ b/tests/driver_grove_ledbar/Makefile
@@ -13,7 +13,4 @@ CFLAGS += -DGROVE_LEDBAR_CLK=$(TEST_GROVE_LEDBAR_CLK)
 CFLAGS += -DGROVE_LEDBAR_DAT=$(TEST_GROVE_LEDBAR_DAT)
 CFLAGS += -DGROVE_LEDBAR_DIR=$(TEST_GROVE_LEDBAR_DIR)
 
-test:
-	tests/01-run.py
-
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/driver_hd44780/Makefile b/tests/driver_hd44780/Makefile
index 0c28e37ef2..e29a9cbdf1 100644
--- a/tests/driver_hd44780/Makefile
+++ b/tests/driver_hd44780/Makefile
@@ -8,7 +8,4 @@ FEATURES_REQUIRED += arduino
 
 USEMODULE += hd44780
 
-test:
-	tests/01-run.py
-
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/driver_my9221/Makefile b/tests/driver_my9221/Makefile
index f1a07c60b3..fcb9f2085b 100644
--- a/tests/driver_my9221/Makefile
+++ b/tests/driver_my9221/Makefile
@@ -15,7 +15,4 @@ CFLAGS += -DTEST_MY9221_DAT=$(TEST_MY9221_DAT)
 CFLAGS += -DTEST_MY9221_DIR=$(TEST_MY9221_DIR)
 CFLAGS += -DTEST_MY9221_NUM=$(TEST_MY9221_NUM)
 
-test:
-	tests/01-run.py
-
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/events/Makefile b/tests/events/Makefile
index 1427f51cdb..c8ab5501b0 100644
--- a/tests/events/Makefile
+++ b/tests/events/Makefile
@@ -4,9 +4,6 @@ FORCE_ASSERTS = 1
 USEMODULE += event_callback
 USEMODULE += event_timeout
 
-test:
-	tests/01-run.py
-
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/evtimer_msg/Makefile b/tests/evtimer_msg/Makefile
index d1b3167f59..cc66a9e3d9 100644
--- a/tests/evtimer_msg/Makefile
+++ b/tests/evtimer_msg/Makefile
@@ -7,6 +7,3 @@ USEMODULE += evtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/evtimer_underflow/Makefile b/tests/evtimer_underflow/Makefile
index d1b3167f59..cc66a9e3d9 100644
--- a/tests/evtimer_underflow/Makefile
+++ b/tests/evtimer_underflow/Makefile
@@ -7,6 +7,3 @@ USEMODULE += evtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/float/Makefile b/tests/float/Makefile
index ea42074054..397bb3006f 100644
--- a/tests/float/Makefile
+++ b/tests/float/Makefile
@@ -10,6 +10,3 @@ endif
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/fmt_print/Makefile b/tests/fmt_print/Makefile
index c152d53baa..633cf7ee2e 100644
--- a/tests/fmt_print/Makefile
+++ b/tests/fmt_print/Makefile
@@ -5,6 +5,3 @@ USEMODULE += fmt
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/gnrc_ipv6_ext/Makefile b/tests/gnrc_ipv6_ext/Makefile
index b33b1217fe..faddc75b76 100644
--- a/tests/gnrc_ipv6_ext/Makefile
+++ b/tests/gnrc_ipv6_ext/Makefile
@@ -25,8 +25,6 @@ CFLAGS += -DGNRC_NETIF_IPV6_ADDRS_NUMOF=3
 
 TEST_ON_CI_WHITELIST += all
 
-include $(RIOTBASE)/Makefile.include
+# Note: The test can check more things with ENABLE_DEBUG set to 1 in gnrc_ipv6.c
 
-# The test can check more things with ENABLE_DEBUG set to 1 in gnrc_ipv6.c
-test:
-	tests/01-run.py
+include $(RIOTBASE)/Makefile.include
diff --git a/tests/gnrc_ipv6_nib/Makefile b/tests/gnrc_ipv6_nib/Makefile
index 784070b893..2b8205ec5d 100644
--- a/tests/gnrc_ipv6_nib/Makefile
+++ b/tests/gnrc_ipv6_nib/Makefile
@@ -18,6 +18,3 @@ CFLAGS += -DTEST_SUITES
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/gnrc_ipv6_nib_6ln/Makefile b/tests/gnrc_ipv6_nib_6ln/Makefile
index e1730d8cca..91e508d5e9 100644
--- a/tests/gnrc_ipv6_nib_6ln/Makefile
+++ b/tests/gnrc_ipv6_nib_6ln/Makefile
@@ -21,6 +21,3 @@ CFLAGS += -DTEST_SUITES
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/gnrc_ndp/Makefile b/tests/gnrc_ndp/Makefile
index 3420d0e98c..4688899dc9 100644
--- a/tests/gnrc_ndp/Makefile
+++ b/tests/gnrc_ndp/Makefile
@@ -17,6 +17,3 @@ CFLAGS += -DTEST_SUITES
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/gnrc_netif/Makefile b/tests/gnrc_netif/Makefile
index 78b4840958..0c97f49b13 100644
--- a/tests/gnrc_netif/Makefile
+++ b/tests/gnrc_netif/Makefile
@@ -37,6 +37,3 @@ CFLAGS += -DTEST_SUITES
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/gnrc_sixlowpan/Makefile b/tests/gnrc_sixlowpan/Makefile
index c46439ecff..0f87212ec1 100644
--- a/tests/gnrc_sixlowpan/Makefile
+++ b/tests/gnrc_sixlowpan/Makefile
@@ -22,6 +22,3 @@ USEMODULE += gnrc_pktdump
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/gnrc_sock_ip/Makefile b/tests/gnrc_sock_ip/Makefile
index 1d1b55fe14..79dd74c480 100644
--- a/tests/gnrc_sock_ip/Makefile
+++ b/tests/gnrc_sock_ip/Makefile
@@ -13,6 +13,3 @@ CFLAGS += -DTEST_SUITES
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/gnrc_sock_udp/Makefile b/tests/gnrc_sock_udp/Makefile
index 7cb3e91142..ae292db100 100644
--- a/tests/gnrc_sock_udp/Makefile
+++ b/tests/gnrc_sock_udp/Makefile
@@ -14,6 +14,3 @@ CFLAGS += -DTEST_SUITES
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/irq/Makefile b/tests/irq/Makefile
index a7530f5863..4a9dbbdb5d 100644
--- a/tests/irq/Makefile
+++ b/tests/irq/Makefile
@@ -8,6 +8,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/isr_yield_higher/Makefile b/tests/isr_yield_higher/Makefile
index 38e14be8d4..bfb6dbf0b1 100644
--- a/tests/isr_yield_higher/Makefile
+++ b/tests/isr_yield_higher/Makefile
@@ -8,6 +8,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/test.py
diff --git a/tests/libc_newlib/Makefile b/tests/libc_newlib/Makefile
index 1cb5ca7a49..140d341b3b 100644
--- a/tests/libc_newlib/Makefile
+++ b/tests/libc_newlib/Makefile
@@ -41,7 +41,3 @@ test-newlib: $(ELFFILE)
 	fi
 
 compile-test: $(COMPILE_TESTS)
-
-
-test:
-	tests/01-run.py
diff --git a/tests/libfixmath/Makefile b/tests/libfixmath/Makefile
index 58a4c5eb17..7b2316e092 100644
--- a/tests/libfixmath/Makefile
+++ b/tests/libfixmath/Makefile
@@ -6,6 +6,3 @@ USEMODULE += libfixmath
 TEST_ON_CI_WHITELIST += native
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/libfixmath_unittests/Makefile b/tests/libfixmath_unittests/Makefile
index 08cbbaa7a9..92deedb90e 100644
--- a/tests/libfixmath_unittests/Makefile
+++ b/tests/libfixmath_unittests/Makefile
@@ -20,6 +20,3 @@ USEMODULE += printf_float
 TEST_ON_CI_WHITELIST += native
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/lwip/Makefile b/tests/lwip/Makefile
index 6ab255a8dc..b38903853e 100644
--- a/tests/lwip/Makefile
+++ b/tests/lwip/Makefile
@@ -21,10 +21,13 @@ USEMODULE += ps
 USEMODULE += od
 USEMODULE += netdev_default
 
-include $(RIOTBASE)/Makefile.include
+ifeq ($(BOARD),native)
+  USEMODULE += lwip_ethernet
+endif
 
 # Test only implemented for native
-ifeq ($(BOARD),native)
-test:
-	./tests/01-run.py
+ifneq ($(BOARD),native)
+  TESTS=
 endif
+
+include $(RIOTBASE)/Makefile.include
diff --git a/tests/lwip_sock_ip/Makefile b/tests/lwip_sock_ip/Makefile
index 72907aaf04..5cf1e1724a 100644
--- a/tests/lwip_sock_ip/Makefile
+++ b/tests/lwip_sock_ip/Makefile
@@ -41,6 +41,3 @@ CFLAGS += -DLWIP_SO_RCVTIMEO
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/lwip_sock_tcp/Makefile b/tests/lwip_sock_tcp/Makefile
index f688006c67..f14f945617 100644
--- a/tests/lwip_sock_tcp/Makefile
+++ b/tests/lwip_sock_tcp/Makefile
@@ -42,6 +42,3 @@ CFLAGS += -DLWIP_NETIF_LOOPBACK=1
 CFLAGS += -DLWIP_HAVE_LOOPIF=1
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/lwip_sock_udp/Makefile b/tests/lwip_sock_udp/Makefile
index 925e6b59aa..db8c2bcb5a 100644
--- a/tests/lwip_sock_udp/Makefile
+++ b/tests/lwip_sock_udp/Makefile
@@ -39,6 +39,3 @@ CFLAGS += -DSO_REUSE
 CFLAGS += -DLWIP_SO_RCVTIMEO
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/msg_avail/Makefile b/tests/msg_avail/Makefile
index 36b54b251b..391995e8f6 100644
--- a/tests/msg_avail/Makefile
+++ b/tests/msg_avail/Makefile
@@ -2,9 +2,6 @@ include ../Makefile.tests_common
 
 DISABLE_MODULE += auto_init
 
-test:
-	tests/01-run.py
-
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/msg_send_receive/Makefile b/tests/msg_send_receive/Makefile
index e3e9e91e63..54a42556f8 100644
--- a/tests/msg_send_receive/Makefile
+++ b/tests/msg_send_receive/Makefile
@@ -5,6 +5,3 @@ BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/msg_try_receive/Makefile b/tests/msg_try_receive/Makefile
index b72eab5acf..54a42556f8 100644
--- a/tests/msg_try_receive/Makefile
+++ b/tests/msg_try_receive/Makefile
@@ -5,6 +5,3 @@ BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/mutex_order/Makefile b/tests/mutex_order/Makefile
index 50b19f2d4c..a2fdfb33f9 100644
--- a/tests/mutex_order/Makefile
+++ b/tests/mutex_order/Makefile
@@ -8,6 +8,3 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/mutex_unlock_and_sleep/Makefile b/tests/mutex_unlock_and_sleep/Makefile
index 9e94f9c668..391995e8f6 100644
--- a/tests/mutex_unlock_and_sleep/Makefile
+++ b/tests/mutex_unlock_and_sleep/Makefile
@@ -5,6 +5,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/netdev_test/Makefile b/tests/netdev_test/Makefile
index c21964f7c7..51e1664c58 100644
--- a/tests/netdev_test/Makefile
+++ b/tests/netdev_test/Makefile
@@ -22,6 +22,3 @@ CFLAGS += -DGNRC_PKTBUF_SIZE=200
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/netstats_l2/Makefile b/tests/netstats_l2/Makefile
index 457cf23ceb..174b3a4b0f 100644
--- a/tests/netstats_l2/Makefile
+++ b/tests/netstats_l2/Makefile
@@ -16,6 +16,3 @@ USEMODULE += auto_init_gnrc_netif
 USEMODULE += netstats_l2
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/nhdp/Makefile b/tests/nhdp/Makefile
index 4ace9cc494..65274e8b78 100644
--- a/tests/nhdp/Makefile
+++ b/tests/nhdp/Makefile
@@ -14,6 +14,3 @@ USEMODULE += nhdp
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/od/Makefile b/tests/od/Makefile
index 0633535150..74c63c10ae 100644
--- a/tests/od/Makefile
+++ b/tests/od/Makefile
@@ -5,11 +5,10 @@ USEMODULE += od
 
 TEST_ON_CI_WHITELIST += all
 
-include $(RIOTBASE)/Makefile.include
-
-test:
 ifeq (,$(filter od_string,$(USEMODULE)))
-	tests/01-run.py
+  TESTS=$(APPDIR)/tests/01-run.py
 else
-	tests/02-run.py
+  TESTS=$(APPDIR)/tests/02-run.py
 endif
+
+include $(RIOTBASE)/Makefile.include
diff --git a/tests/periph_timer/Makefile b/tests/periph_timer/Makefile
index ed54ce0ab5..1debd39325 100644
--- a/tests/periph_timer/Makefile
+++ b/tests/periph_timer/Makefile
@@ -7,6 +7,3 @@ FEATURES_REQUIRED = periph_timer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pipe/Makefile b/tests/pipe/Makefile
index d4b97581d8..10f63e29cd 100644
--- a/tests/pipe/Makefile
+++ b/tests/pipe/Makefile
@@ -9,6 +9,3 @@ USEMODULE += pipe
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_cayenne-lpp/Makefile b/tests/pkg_cayenne-lpp/Makefile
index e6d97f790a..14f987fc7a 100644
--- a/tests/pkg_cayenne-lpp/Makefile
+++ b/tests/pkg_cayenne-lpp/Makefile
@@ -5,6 +5,3 @@ USEPKG += cayenne-lpp
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_fatfs_vfs/Makefile b/tests/pkg_fatfs_vfs/Makefile
index d04164ca8a..b9ca238f2c 100644
--- a/tests/pkg_fatfs_vfs/Makefile
+++ b/tests/pkg_fatfs_vfs/Makefile
@@ -47,6 +47,8 @@ BOARD_WHITELIST := airfy-beacon arduino-due arduino-duemilanove arduino-mega2560
                    stm32f3discovery stm32f4discovery udoo waspmote-pro \
                    yunjia-nrf51822 native
 
+TEST_DEPS += image
+
 include $(RIOTBASE)/Makefile.include
 
 image:
@@ -55,6 +57,3 @@ image:
 #this generates a compressed fat image file that can be used by the fat driver on native
 compressed-image:
 	@./create_fat_image_file.sh $(FATFS_IMAGE_FILE_SIZE_MIB)
-
-test: image
-	./tests/01-run.py
diff --git a/tests/pkg_jsmn/Makefile b/tests/pkg_jsmn/Makefile
index c7fe85b895..98648f5806 100644
--- a/tests/pkg_jsmn/Makefile
+++ b/tests/pkg_jsmn/Makefile
@@ -5,6 +5,3 @@ USEPKG += jsmn
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_libcoap/Makefile b/tests/pkg_libcoap/Makefile
index a2a6ae6e2f..d1780b3d36 100644
--- a/tests/pkg_libcoap/Makefile
+++ b/tests/pkg_libcoap/Makefile
@@ -17,6 +17,3 @@ USEPKG += libcoap
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_micro-ecc-with-hwrng/Makefile b/tests/pkg_micro-ecc-with-hwrng/Makefile
index 2f696100f0..723eea5309 100644
--- a/tests/pkg_micro-ecc-with-hwrng/Makefile
+++ b/tests/pkg_micro-ecc-with-hwrng/Makefile
@@ -7,6 +7,3 @@ USEPKG += micro-ecc
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_micro-ecc/Makefile b/tests/pkg_micro-ecc/Makefile
index a9d2935d72..d61f36722c 100644
--- a/tests/pkg_micro-ecc/Makefile
+++ b/tests/pkg_micro-ecc/Makefile
@@ -8,6 +8,3 @@ USEPKG += micro-ecc
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_minmea/Makefile b/tests/pkg_minmea/Makefile
index 272ee8ce68..e1f9654cf6 100644
--- a/tests/pkg_minmea/Makefile
+++ b/tests/pkg_minmea/Makefile
@@ -16,6 +16,3 @@ BOARD_BLACKLIST += arduino-duemilanove \
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_monocypher/Makefile b/tests/pkg_monocypher/Makefile
index 7f7416ca29..55d09ee1a4 100644
--- a/tests/pkg_monocypher/Makefile
+++ b/tests/pkg_monocypher/Makefile
@@ -16,6 +16,3 @@ USEPKG += monocypher
 
 TEST_ON_CI_WHITELIST += all
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_tiny-asn1/Makefile b/tests/pkg_tiny-asn1/Makefile
index c3f90123bf..5f0adbc067 100644
--- a/tests/pkg_tiny-asn1/Makefile
+++ b/tests/pkg_tiny-asn1/Makefile
@@ -9,6 +9,3 @@ USEPKG += tiny-asn1
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/pkg_tinycbor/Makefile b/tests/pkg_tinycbor/Makefile
index 7e0102edd1..705f3ecae8 100644
--- a/tests/pkg_tinycbor/Makefile
+++ b/tests/pkg_tinycbor/Makefile
@@ -11,6 +11,3 @@ USEPKG += tinycbor
 
 TEST_ON_CI_WHITELIST += all
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_tinycrypt/Makefile b/tests/pkg_tinycrypt/Makefile
index de7f2fa30e..b3355c6edb 100644
--- a/tests/pkg_tinycrypt/Makefile
+++ b/tests/pkg_tinycrypt/Makefile
@@ -10,6 +10,3 @@ USEPKG += tinycrypt
 USEMODULE = fmt
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_u8g2/Makefile b/tests/pkg_u8g2/Makefile
index 3fb3e40a7d..d63cb8f6d3 100644
--- a/tests/pkg_u8g2/Makefile
+++ b/tests/pkg_u8g2/Makefile
@@ -60,6 +60,3 @@ CFLAGS += -DTEST_PIN_RESET=$(TEST_PIN_RESET)
 CFLAGS += -DTEST_DISPLAY=$(TEST_DISPLAY)
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_ucglib/Makefile b/tests/pkg_ucglib/Makefile
index e8bc8a5e15..2ece5313a1 100644
--- a/tests/pkg_ucglib/Makefile
+++ b/tests/pkg_ucglib/Makefile
@@ -43,6 +43,3 @@ CFLAGS += -DTEST_DISPLAY=$(TEST_DISPLAY)
 CFLAGS += -DTEST_DISPLAY_EXT=$(TEST_DISPLAY_EXT)
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pkg_umorse/Makefile b/tests/pkg_umorse/Makefile
index 59a8314ef5..ccc82ba398 100644
--- a/tests/pkg_umorse/Makefile
+++ b/tests/pkg_umorse/Makefile
@@ -10,6 +10,3 @@ CFLAGS += -DUMORSE_DELAY_DIT=$(UMORSE_DELAY_DIT)
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/posix_semaphore/Makefile b/tests/posix_semaphore/Makefile
index d8020e8dce..954ccbcb5b 100644
--- a/tests/posix_semaphore/Makefile
+++ b/tests/posix_semaphore/Makefile
@@ -15,6 +15,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/posix_time/Makefile b/tests/posix_time/Makefile
index b901dd7aa7..555036d53c 100644
--- a/tests/posix_time/Makefile
+++ b/tests/posix_time/Makefile
@@ -5,6 +5,3 @@ USEMODULE += posix_time
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/ps_schedstatistics/Makefile b/tests/ps_schedstatistics/Makefile
index da3c3cb200..9eb3108b05 100644
--- a/tests/ps_schedstatistics/Makefile
+++ b/tests/ps_schedstatistics/Makefile
@@ -15,6 +15,3 @@ USEMODULE += printf_float
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pthread/Makefile b/tests/pthread/Makefile
index 44a6384e5e..728b0c10f0 100644
--- a/tests/pthread/Makefile
+++ b/tests/pthread/Makefile
@@ -12,6 +12,3 @@ USEMODULE += pthread
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pthread_barrier/Makefile b/tests/pthread_barrier/Makefile
index c84d40056c..c319bbb94a 100644
--- a/tests/pthread_barrier/Makefile
+++ b/tests/pthread_barrier/Makefile
@@ -17,6 +17,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pthread_cleanup/Makefile b/tests/pthread_cleanup/Makefile
index f490803f3c..ea5bad6194 100644
--- a/tests/pthread_cleanup/Makefile
+++ b/tests/pthread_cleanup/Makefile
@@ -11,6 +11,3 @@ USEMODULE += pthread
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pthread_condition_variable/Makefile b/tests/pthread_condition_variable/Makefile
index e7580a7906..3f57558956 100644
--- a/tests/pthread_condition_variable/Makefile
+++ b/tests/pthread_condition_variable/Makefile
@@ -17,6 +17,3 @@ CFLAGS += -DNATIVE_AUTO_EXIT
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pthread_cooperation/Makefile b/tests/pthread_cooperation/Makefile
index 2c5b8cc33a..d0fff7e499 100644
--- a/tests/pthread_cooperation/Makefile
+++ b/tests/pthread_cooperation/Makefile
@@ -14,6 +14,3 @@ USEMODULE += pthread
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pthread_rwlock/Makefile b/tests/pthread_rwlock/Makefile
index ffc279227c..ac29ab3c9b 100644
--- a/tests/pthread_rwlock/Makefile
+++ b/tests/pthread_rwlock/Makefile
@@ -16,6 +16,3 @@ BOARD_INSUFFICIENT_MEMORY += chronos msb-430 msb-430h nucleo-f031k6 \
                              stm32f0discovery
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/pthread_tls/Makefile b/tests/pthread_tls/Makefile
index 44a6384e5e..728b0c10f0 100644
--- a/tests/pthread_tls/Makefile
+++ b/tests/pthread_tls/Makefile
@@ -12,6 +12,3 @@ USEMODULE += pthread
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/rmutex/Makefile b/tests/rmutex/Makefile
index f094dbda49..c8ef40e555 100644
--- a/tests/rmutex/Makefile
+++ b/tests/rmutex/Makefile
@@ -7,6 +7,3 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/rng/Makefile b/tests/rng/Makefile
index 2dfaf6dfa0..ad8461b476 100644
--- a/tests/rng/Makefile
+++ b/tests/rng/Makefile
@@ -18,6 +18,3 @@ FEATURES_OPTIONAL += periph_hwrng
 TEST_ON_CI_WHITELIST += native
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/sched_testing/Makefile b/tests/sched_testing/Makefile
index b72eab5acf..54a42556f8 100644
--- a/tests/sched_testing/Makefile
+++ b/tests/sched_testing/Makefile
@@ -5,6 +5,3 @@ BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/shell/Makefile b/tests/shell/Makefile
index de5f736142..3ebf08503c 100644
--- a/tests/shell/Makefile
+++ b/tests/shell/Makefile
@@ -13,6 +13,3 @@ BOARD_BLACKLIST += chronos
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/sizeof_tcb/Makefile b/tests/sizeof_tcb/Makefile
index 065d22bf05..032fb617dd 100644
--- a/tests/sizeof_tcb/Makefile
+++ b/tests/sizeof_tcb/Makefile
@@ -11,6 +11,3 @@ include ../Makefile.tests_common
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/socket_zep/Makefile b/tests/socket_zep/Makefile
index db55c1d71e..dbf82761e2 100644
--- a/tests/socket_zep/Makefile
+++ b/tests/socket_zep/Makefile
@@ -13,6 +13,3 @@ CFLAGS += -DDEVELHELP
 TERMFLAGS ?= -z [::1]:17754
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/ssp/Makefile b/tests/ssp/Makefile
index a4e7aeb5b5..98dc99e57d 100644
--- a/tests/ssp/Makefile
+++ b/tests/ssp/Makefile
@@ -11,6 +11,3 @@ USEMODULE += ssp
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/struct_tm_utility/Makefile b/tests/struct_tm_utility/Makefile
index 090580b621..549f162764 100644
--- a/tests/struct_tm_utility/Makefile
+++ b/tests/struct_tm_utility/Makefile
@@ -11,6 +11,3 @@ BOARD_BLACKLIST := chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_basic/Makefile b/tests/thread_basic/Makefile
index 7cd72a6bcf..61bc51c2c4 100644
--- a/tests/thread_basic/Makefile
+++ b/tests/thread_basic/Makefile
@@ -7,6 +7,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/thread_cooperation/Makefile b/tests/thread_cooperation/Makefile
index a237e853a8..0ef6a30ee4 100644
--- a/tests/thread_cooperation/Makefile
+++ b/tests/thread_cooperation/Makefile
@@ -22,7 +22,4 @@ CFLAGS += -DPROBLEM=$(PROBLEM)
 
 TEST_ON_CI_WHITELIST += all
 
-test:
-	./tests/01-run.py
-
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/thread_exit/Makefile b/tests/thread_exit/Makefile
index d83cec446f..61bc51c2c4 100644
--- a/tests/thread_exit/Makefile
+++ b/tests/thread_exit/Makefile
@@ -7,6 +7,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_flags/Makefile b/tests/thread_flags/Makefile
index 3ce9af7db3..30365019cc 100644
--- a/tests/thread_flags/Makefile
+++ b/tests/thread_flags/Makefile
@@ -8,6 +8,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_flags_xtimer/Makefile b/tests/thread_flags_xtimer/Makefile
index 2dc857ec46..9d3a2f0644 100644
--- a/tests/thread_flags_xtimer/Makefile
+++ b/tests/thread_flags_xtimer/Makefile
@@ -6,6 +6,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_flood/Makefile b/tests/thread_flood/Makefile
index 9e94f9c668..391995e8f6 100644
--- a/tests/thread_flood/Makefile
+++ b/tests/thread_flood/Makefile
@@ -5,6 +5,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_msg/Makefile b/tests/thread_msg/Makefile
index b8ecb27785..3e2c65c22e 100644
--- a/tests/thread_msg/Makefile
+++ b/tests/thread_msg/Makefile
@@ -8,6 +8,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_msg_block_w_queue/Makefile b/tests/thread_msg_block_w_queue/Makefile
index d83cec446f..61bc51c2c4 100644
--- a/tests/thread_msg_block_w_queue/Makefile
+++ b/tests/thread_msg_block_w_queue/Makefile
@@ -7,6 +7,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_msg_block_wo_queue/Makefile b/tests/thread_msg_block_wo_queue/Makefile
index d83cec446f..61bc51c2c4 100644
--- a/tests/thread_msg_block_wo_queue/Makefile
+++ b/tests/thread_msg_block_wo_queue/Makefile
@@ -7,6 +7,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_msg_seq/Makefile b/tests/thread_msg_seq/Makefile
index e84269ad9b..64a90dc1a4 100644
--- a/tests/thread_msg_seq/Makefile
+++ b/tests/thread_msg_seq/Makefile
@@ -6,6 +6,3 @@ BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
 DISABLE_MODULE += auto_init
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/thread_race/Makefile b/tests/thread_race/Makefile
index 9e94f9c668..391995e8f6 100644
--- a/tests/thread_race/Makefile
+++ b/tests/thread_race/Makefile
@@ -5,6 +5,3 @@ DISABLE_MODULE += auto_init
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/trace/Makefile b/tests/trace/Makefile
index 9015e73ecd..5b19f9de82 100644
--- a/tests/trace/Makefile
+++ b/tests/trace/Makefile
@@ -9,8 +9,3 @@ BOARD_WHITELIST := native
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-# `testrunner` calls `make term` recursively, results in duplicated `TERMFLAGS`.
-# So clears `TERMFLAGS` before run.
-	TERMFLAGS= tests/01-run.py
diff --git a/tests/trickle/Makefile b/tests/trickle/Makefile
index fe07dba05b..8d2da1215a 100644
--- a/tests/trickle/Makefile
+++ b/tests/trickle/Makefile
@@ -5,6 +5,3 @@ USEMODULE += trickle
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/unittests/Makefile b/tests/unittests/Makefile
index 63615bf8c7..608a274e71 100644
--- a/tests/unittests/Makefile
+++ b/tests/unittests/Makefile
@@ -269,6 +269,3 @@ ifeq (, $(UNIT_TESTS))
 else
   CFLAGS += -DTEST_SUITES='$(subst $() $(),$(charCOMMA),$(UNIT_TESTS:tests-%=%))'
 endif
-
-test:
-	./tests/01-run.py
diff --git a/tests/warn_conflict/Makefile b/tests/warn_conflict/Makefile
index a60d18e764..3c332cd249 100644
--- a/tests/warn_conflict/Makefile
+++ b/tests/warn_conflict/Makefile
@@ -13,6 +13,3 @@ FEATURES_REQUIRED = periph_dac periph_spi
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-make.py
diff --git a/tests/xtimer_hang/Makefile b/tests/xtimer_hang/Makefile
index 85437c51a2..d2da7702d4 100644
--- a/tests/xtimer_hang/Makefile
+++ b/tests/xtimer_hang/Makefile
@@ -7,6 +7,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/xtimer_msg/Makefile b/tests/xtimer_msg/Makefile
index 85437c51a2..d2da7702d4 100644
--- a/tests/xtimer_msg/Makefile
+++ b/tests/xtimer_msg/Makefile
@@ -7,6 +7,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/xtimer_msg_receive_timeout/Makefile b/tests/xtimer_msg_receive_timeout/Makefile
index cb14f399a4..1079b0a411 100644
--- a/tests/xtimer_msg_receive_timeout/Makefile
+++ b/tests/xtimer_msg_receive_timeout/Makefile
@@ -2,9 +2,6 @@ include ../Makefile.tests_common
 
 USEMODULE += xtimer
 
-test:
-	tests/01-run.py
-
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
diff --git a/tests/xtimer_now64_continuity/Makefile b/tests/xtimer_now64_continuity/Makefile
index 83bad6f661..2902f849c9 100644
--- a/tests/xtimer_now64_continuity/Makefile
+++ b/tests/xtimer_now64_continuity/Makefile
@@ -6,6 +6,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/xtimer_periodic_wakeup/Makefile b/tests/xtimer_periodic_wakeup/Makefile
index 1789adbfdd..c49238e34f 100644
--- a/tests/xtimer_periodic_wakeup/Makefile
+++ b/tests/xtimer_periodic_wakeup/Makefile
@@ -7,6 +7,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/xtimer_remove/Makefile b/tests/xtimer_remove/Makefile
index d81df6d3c9..1079b0a411 100644
--- a/tests/xtimer_remove/Makefile
+++ b/tests/xtimer_remove/Makefile
@@ -5,6 +5,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/xtimer_reset/Makefile b/tests/xtimer_reset/Makefile
index d81df6d3c9..1079b0a411 100644
--- a/tests/xtimer_reset/Makefile
+++ b/tests/xtimer_reset/Makefile
@@ -5,6 +5,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	tests/01-run.py
diff --git a/tests/xtimer_usleep/Makefile b/tests/xtimer_usleep/Makefile
index 4757299729..af26bcfb8f 100644
--- a/tests/xtimer_usleep/Makefile
+++ b/tests/xtimer_usleep/Makefile
@@ -11,6 +11,3 @@ TEST_ON_CI_WHITELIST += all
 #CFLAGS += -DSLEEP_PORT=PORT_F
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
diff --git a/tests/xtimer_usleep_short/Makefile b/tests/xtimer_usleep_short/Makefile
index 124e211853..1079b0a411 100644
--- a/tests/xtimer_usleep_short/Makefile
+++ b/tests/xtimer_usleep_short/Makefile
@@ -5,6 +5,3 @@ USEMODULE += xtimer
 TEST_ON_CI_WHITELIST += all
 
 include $(RIOTBASE)/Makefile.include
-
-test:
-	./tests/01-run.py
-- 
GitLab