From 6942c376df9eb7d8830368afaba4f178180e1f3b Mon Sep 17 00:00:00 2001
From: cladmi <gaetan.harter@fu-berlin.de>
Date: Fri, 17 Aug 2018 11:52:38 +0200
Subject: [PATCH] tests/: blacklist arduino boards based on ROM/RAM overflow

---
 tests/bench_timers/Makefile       |  2 ++
 tests/bloom_bytes/Makefile        |  4 ++--
 tests/can_trx/Makefile            |  2 ++
 tests/conn_can/Makefile           | 12 +++++++-----
 tests/emb6/Makefile               |  7 ++++---
 tests/mutex_order/Makefile        |  5 +++--
 tests/netdev_test/Makefile        |  2 +-
 tests/posix_semaphore/Makefile    | 10 ++++++----
 tests/ps_schedstatistics/Makefile |  9 +++++----
 tests/rmutex/Makefile             |  5 +++--
 tests/slip/Makefile               |  6 ++++--
 tests/sntp/Makefile               |  6 ++++--
 12 files changed, 43 insertions(+), 27 deletions(-)

diff --git a/tests/bench_timers/Makefile b/tests/bench_timers/Makefile
index 11675236f5..700ffdbc90 100644
--- a/tests/bench_timers/Makefile
+++ b/tests/bench_timers/Makefile
@@ -1,5 +1,7 @@
 include ../Makefile.tests_common
 
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
+
 # These boards only have a single timer in their periph_conf.h, needs special
 # CFLAGS configuration to build properly
 SINGLE_TIMER_BOARDS = \
diff --git a/tests/bloom_bytes/Makefile b/tests/bloom_bytes/Makefile
index 243a721da1..7e6e7aed9c 100644
--- a/tests/bloom_bytes/Makefile
+++ b/tests/bloom_bytes/Makefile
@@ -1,7 +1,7 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h telosb wsn430-v1_3b \
-                             wsn430-v1_4 z1
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno chronos \
+                             msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
 
 USEMODULE += hashes
 USEMODULE += bloom
diff --git a/tests/can_trx/Makefile b/tests/can_trx/Makefile
index fab8275842..d887f961a3 100644
--- a/tests/can_trx/Makefile
+++ b/tests/can_trx/Makefile
@@ -1,6 +1,8 @@
 export APPLICATION = can_trx
 include ../Makefile.tests_common
 
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno
+
 USEMODULE += shell
 USEMODULE += shell_commands
 USEMODULE += ps
diff --git a/tests/conn_can/Makefile b/tests/conn_can/Makefile
index 35fde68429..959231f6d5 100644
--- a/tests/conn_can/Makefile
+++ b/tests/conn_can/Makefile
@@ -1,10 +1,12 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := chronos hifive1 msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
-                             nucleo-f303k8 nucleo-l031k6 nucleo-f030r8 nucleo-f070rb \
-                             nucleo-f072rb nucleo-f302r8 nucleo-f303re nucleo-f334r8 \
-                             nucleo-l053r8 stm32f0discovery telosb wsn430-v1_3b \
-                             wsn430-v1_4 z1
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
+                             chronos hifive1 msb-430 msb-430h nucleo-f031k6 \
+                             nucleo-f042k6 nucleo-f303k8 nucleo-l031k6 \
+                             nucleo-f030r8 nucleo-f070rb nucleo-f072rb \
+                             nucleo-f302r8 nucleo-f303re nucleo-f334r8 \
+                             nucleo-l053r8 stm32f0discovery telosb \
+                             waspmote-pro wsn430-v1_3b wsn430-v1_4 z1
 
 CFLAGS += -DLOG_LEVEL=LOG_ALL
 
diff --git a/tests/emb6/Makefile b/tests/emb6/Makefile
index 3a5a979ab6..1063f65693 100644
--- a/tests/emb6/Makefile
+++ b/tests/emb6/Makefile
@@ -5,9 +5,10 @@ include ../Makefile.tests_common
 # MSP-430 doesn't support C11's atomic functionality yet
 BOARD_BLACKLIST := msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
 
-BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-l031k6 nucleo-f031k6 \
-                             nucleo-f042k6 nucleo-l053r8 stm32f0discovery telosb \
-                             wsn430-v1_3b wsn430-v1_4 z1
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
+                             msb-430 msb-430h nucleo-l031k6 nucleo-f031k6 \
+                             nucleo-f042k6 nucleo-l053r8 stm32f0discovery \
+                             telosb wsn430-v1_3b wsn430-v1_4 z1
 
 USEPKG += emb6
 
diff --git a/tests/mutex_order/Makefile b/tests/mutex_order/Makefile
index a27f69488a..50b19f2d4c 100644
--- a/tests/mutex_order/Makefile
+++ b/tests/mutex_order/Makefile
@@ -1,7 +1,8 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
-                             nucleo-l053r8 stm32f0discovery
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
+                             nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
+                             nucleo-f030r8 nucleo-l053r8 stm32f0discovery
 
 # list of boards to run CI tests on
 TEST_ON_CI_WHITELIST += all
diff --git a/tests/netdev_test/Makefile b/tests/netdev_test/Makefile
index eae854b252..c21964f7c7 100644
--- a/tests/netdev_test/Makefile
+++ b/tests/netdev_test/Makefile
@@ -4,7 +4,7 @@
 CFLAGS += -DNDEBUG
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno nucleo-f031k6
 
 DISABLE_MODULE = auto_init
 
diff --git a/tests/posix_semaphore/Makefile b/tests/posix_semaphore/Makefile
index a23002e7f6..d8020e8dce 100644
--- a/tests/posix_semaphore/Makefile
+++ b/tests/posix_semaphore/Makefile
@@ -1,9 +1,11 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := chronos mbed_lpc1768 msb-430 msb-430h nrf6310 \
-                             nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
-                             nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \
-                             spark-core stm32f0discovery yunjia-nrf51822
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
+                             chronos mbed_lpc1768 msb-430 msb-430h nrf6310 \
+                             nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
+                             nucleo-f030r8 nucleo-f303k8 nucleo-f334r8 \
+                             nucleo-l053r8 spark-core stm32f0discovery \
+                             yunjia-nrf51822
 
 USEMODULE += fmt
 USEMODULE += posix_semaphore
diff --git a/tests/ps_schedstatistics/Makefile b/tests/ps_schedstatistics/Makefile
index 862dd8b714..da3c3cb200 100644
--- a/tests/ps_schedstatistics/Makefile
+++ b/tests/ps_schedstatistics/Makefile
@@ -1,9 +1,10 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f030r8 nucleo-l053r8 \
-                             nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
-                             stm32f0discovery telosb wsn430-v1_3b \
-                             wsn430-v1_4 z1
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
+                             chronos msb-430 msb-430h nucleo-f030r8 \
+                             nucleo-l053r8 nucleo-f031k6 nucleo-f042k6 \
+                             nucleo-l031k6 stm32f0discovery telosb \
+                             wsn430-v1_3b wsn430-v1_4 z1
 
 USEMODULE += shell
 USEMODULE += shell_commands
diff --git a/tests/rmutex/Makefile b/tests/rmutex/Makefile
index aa662e3963..f094dbda49 100644
--- a/tests/rmutex/Makefile
+++ b/tests/rmutex/Makefile
@@ -1,7 +1,8 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
-                             nucleo-l053r8 stm32f0discovery
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-uno \
+                             nucleo-f031k6 nucleo-f042k6 nucleo-l031k6 \
+                             nucleo-f030r8 nucleo-l053r8 stm32f0discovery
 
 TEST_ON_CI_WHITELIST += all
 
diff --git a/tests/slip/Makefile b/tests/slip/Makefile
index d800f18d11..6ea1647fad 100644
--- a/tests/slip/Makefile
+++ b/tests/slip/Makefile
@@ -1,8 +1,10 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
+                             msb-430 msb-430h nucleo-f031k6 nucleo-f042k6 \
                              nucleo-l031k6 nucleo-f030r8 nucleo-f303k8 \
-                             nucleo-f334r8 nucleo-l053r8 stm32f0discovery
+                             nucleo-f334r8 nucleo-l053r8 stm32f0discovery \
+                             waspmote-pro
 
 BOARD_BLACKLIST += mips-malta
 
diff --git a/tests/sntp/Makefile b/tests/sntp/Makefile
index 7621932b87..cd0a9f5bc1 100644
--- a/tests/sntp/Makefile
+++ b/tests/sntp/Makefile
@@ -1,9 +1,11 @@
 include ../Makefile.tests_common
 
-BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f031k6 \
+BOARD_INSUFFICIENT_MEMORY := arduino-duemilanove arduino-mega2560 arduino-uno \
+                             chronos msb-430 msb-430h nucleo-f031k6 \
                              nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
                              nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \
-                             stm32f0discovery telosb wsn430-v1_3b wsn430-v1_4 z1
+                             stm32f0discovery telosb waspmote-pro \
+                             wsn430-v1_3b wsn430-v1_4 z1
 
 USEMODULE += sntp
 USEMODULE += gnrc_sock_udp
-- 
GitLab