tests: adapt for arduino uno and duemilanove support

- blacklist arduino-uno and arduino-duemilanove for
  coap, libfixmath_unittests, lwip, nhdp,
  pthread, pthread_barrier, pthread_cleanup, pthread_condition_variable
  pthread_cooperation, pthread_rwlock and pthread_tls tests.

- fix sys/pipe build

- unittests: boards added to BOARD_INSUFICIENT_MEMORY list.
This commit is contained in:
Laurent Navet 2016-09-19 21:46:55 +02:00
parent 80cf8389a8
commit 3ff576e46a
13 changed files with 24 additions and 21 deletions

View File

@ -25,7 +25,7 @@
* @} * @}
*/ */
#if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) #if defined(MCU_ATMEGA2560) || defined(MCU_ATMEGA1281) || defined(MCU_ATMEGA328P)
#include <stdlib.h> #include <stdlib.h>
#else #else
#include <malloc.h> #include <malloc.h>

View File

@ -3,7 +3,7 @@ include ../Makefile.tests_common
# msp430 and avr have problems with int width and libcoaps usage of :x notation in structs # msp430 and avr have problems with int width and libcoaps usage of :x notation in structs
BOARD_BLACKLIST := arduino-mega2560 chronos msb-430 msb-430h telosb wsn430-v1_3b \ BOARD_BLACKLIST := arduino-mega2560 chronos msb-430 msb-430h telosb wsn430-v1_3b \
wsn430-v1_4 z1 waspmote-pro wsn430-v1_4 z1 waspmote-pro arduino-uno arduino-duemilanove
BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f334 \ BOARD_INSUFFICIENT_MEMORY := chronos msb-430 msb-430h nucleo-f334 \
stm32f0discovery telosb weio wsn430-v1_3b wsn430-v1_4 z1 stm32f0discovery telosb weio wsn430-v1_3b wsn430-v1_4 z1

View File

@ -1,7 +1,7 @@
APPLICATION = libfixmath_unittests APPLICATION = libfixmath_unittests
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: builds locally but breaks travis (possibly because of # arduino-mega2560: builds locally but breaks travis (possibly because of
# differences in the toolchain) # differences in the toolchain)

View File

@ -4,7 +4,8 @@ BOARD ?= iotlab-m3
RIOTBASE ?= $(CURDIR)/../.. RIOTBASE ?= $(CURDIR)/../..
BOARD_BLACKLIST := arduino-mega2560 msb-430h telosb waspmote-pro z1 BOARD_BLACKLIST := arduino-mega2560 msb-430h telosb waspmote-pro z1 arduino-uno \
arduino-duemilanove
BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-mega2560 msb-430h nrf6310 \ BOARD_INSUFFICIENT_MEMORY := airfy-beacon arduino-mega2560 msb-430h nrf6310 \
nucleo-f334 pca10005 stm32f0discovery telosb \ nucleo-f334 pca10005 stm32f0discovery telosb \
weio yunjia-nrf51822 z1 weio yunjia-nrf51822 z1

View File

@ -2,7 +2,8 @@ APPLICATION = nhdp
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 chronos msb-430 msb-430h telosb \ BOARD_BLACKLIST := arduino-mega2560 chronos msb-430 msb-430h telosb \
wsn430-v1_3b wsn430-v1_4 z1 waspmote-pro wsn430-v1_3b wsn430-v1_4 z1 waspmote-pro arduino-uno \
arduino-duemilanove
BOARD_INSUFFICIENT_MEMORY := nucleo-f334 stm32f0discovery weio BOARD_INSUFFICIENT_MEMORY := nucleo-f334 stm32f0discovery weio
USEMODULE += gnrc_ipv6 USEMODULE += gnrc_ipv6

View File

@ -1,8 +1,8 @@
APPLICATION = pthread APPLICATION = pthread
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: unknown type name: clockid_t # arduino mega2560 uno duemilanove : unknown type name: clockid_t
USEMODULE += posix USEMODULE += posix
USEMODULE += pthread USEMODULE += pthread

View File

@ -2,8 +2,8 @@
APPLICATION = pthread_barrier APPLICATION = pthread_barrier
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: unknown type name: clockid_t # arduino mega2560 uno duemilanove: unknown type name: clockid_t
# exclude boards with insufficient memory # exclude boards with insufficient memory
BOARD_INSUFFICIENT_MEMORY := stm32f0discovery BOARD_INSUFFICIENT_MEMORY := stm32f0discovery

View File

@ -1,8 +1,8 @@
APPLICATION = pthread_cleanup APPLICATION = pthread_cleanup
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: unknown type name: clockid_t # arduino mega2560 uno duemilanove : unknown type name: clockid_t
USEMODULE += pthread USEMODULE += pthread

View File

@ -1,8 +1,8 @@
APPLICATION = condition_variable APPLICATION = condition_variable
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: unknown type name: clockid_t # arduino mega2560 uno duemilanove: unknown type name: clockid_t
BOARD_INSUFFICIENT_MEMORY := stm32f0discovery BOARD_INSUFFICIENT_MEMORY := stm32f0discovery

View File

@ -1,8 +1,8 @@
APPLICATION = pthread_cooperation APPLICATION = pthread_cooperation
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: unknown type name: clockid_t # arduino mega2560 uno duemilanove: unknown type name: clockid_t
USEMODULE += posix USEMODULE += posix
USEMODULE += pthread USEMODULE += pthread

View File

@ -1,8 +1,8 @@
APPLICATION = pthread_rwlock APPLICATION = pthread_rwlock
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: unknown type name: clockid_t # arduino mega2560 uno duemilanove: unknown type name: clockid_t
USEMODULE += pthread USEMODULE += pthread
USEMODULE += xtimer USEMODULE += xtimer

View File

@ -1,8 +1,8 @@
APPLICATION = pthread_tls APPLICATION = pthread_tls
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
# arduino-mega2560: unknown type name: clockid_t # arduino mega2560 uno duemilanove: unknown type name: clockid_t
USEMODULE += posix USEMODULE += posix
USEMODULE += pthread USEMODULE += pthread

View File

@ -6,7 +6,8 @@ BOARD_INSUFFICIENT_MEMORY := airfy-beacon cc2650stk chronos msb-430 msb-430h pca
telosb wsn430-v1_3b wsn430-v1_4 z1 nucleo-f103 \ telosb wsn430-v1_3b wsn430-v1_4 z1 nucleo-f103 \
nucleo-f334 yunjia-nrf51822 samr21-xpro \ nucleo-f334 yunjia-nrf51822 samr21-xpro \
arduino-mega2560 airfy-beacon nrf51dongle nrf6310 \ arduino-mega2560 airfy-beacon nrf51dongle nrf6310 \
weio waspmote-pro nucleo-f072 weio waspmote-pro nucleo-f072 arduino-uno \
arduino-duemilanove
USEMODULE += embunit USEMODULE += embunit
@ -27,7 +28,7 @@ ARM_CORTEX_M_BOARDS := airfy-beacon arduino-due cc2538dk ek-lm4f120xl f4vi1 fox
yunjia-nrf51822 yunjia-nrf51822
DISABLE_TEST_FOR_ARM_CORTEX_M := tests-relic DISABLE_TEST_FOR_ARM_CORTEX_M := tests-relic
AVR_BOARDS := arduino-mega2560 waspmote-pro AVR_BOARDS := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove
DISABLE_TEST_FOR_AVR := tests-relic DISABLE_TEST_FOR_AVR := tests-relic
MSP430_BOARDS := chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1 MSP430_BOARDS := chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1