tests/pthread*: enable pthread tests on avr

'pthread' is now compatible with 'avr' so enable them in tests.
All the tests ran on 'arduino-mega2560' when supported.
This commit is contained in:
Gaëtan Harter 2019-09-11 17:31:25 +02:00
parent 5c405b56f8
commit 9ee84c62c9
No known key found for this signature in database
GPG Key ID: 76DF6BCF1B1F883B
8 changed files with 55 additions and 62 deletions

View File

@ -1,12 +1,5 @@
include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \
waspmote-pro
# arduino mega2560 uno duemilanove : unknown type name: clockid_t
# jiminy-mega256rfr2: unknown type name: clockid_t
# mega-xplained: unknown type name: clockid_t
USEMODULE += posix_headers
USEMODULE += pthread

View File

@ -1,12 +1,10 @@
include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno i-nucleo-lrwan1 jiminy-mega256rfr2 \
mega-xplained stm32l0538-disco waspmote-pro
# AVR platform: unknown type name: clockid_t
# exclude boards with insufficient memory
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_INSUFFICIENT_MEMORY = \
i-nucleo-lrwan1 \
nucleo-f031k6 \
stm32l0538-disco \
#
# Modules to include.
USEMODULE += pthread

View File

@ -1,12 +1,5 @@
include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \
waspmote-pro
# arduino mega2560 uno duemilanove : unknown type name: clockid_t
# jiminy-mega256rfr2: unknown type name: clockid_t
# mega-xplained: unknown type name: clockid_t
USEMODULE += pthread
include $(RIOTBASE)/Makefile.include

View File

@ -1,12 +1,5 @@
include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \
waspmote-pro
# arduino mega2560 uno duemilanove : unknown type name: clockid_t
# jiminy-mega256rfr2: unknown type name: clockid_t
# mega-xplained: unknown type name: clockid_t
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
USEMODULE += posix_headers

View File

@ -1,13 +1,25 @@
include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno hifive1 hifive1b i-nucleo-lrwan1 \
jiminy-mega256rfr2 mega-xplained stm32l0538-disco waspmote-pro
BOARD_INSUFFICIENT_MEMORY := \
arduino-duemilanove \
arduino-nano \
arduino-uno \
nucleo-f031k6 \
hifive1 \
hifive1b \
i-nucleo-lrwan1 \
stm32l0538-disco \
#
# AVR platform: unknown type name: clockid_t
# hifive1: not enough memory for thread stacks
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
# The test reboots on 'arduino-mega2560' because it mallocs too much memory.
# So I disabled all the other avr boards. Re-enable after success test.
BOARD_INSUFFICIENT_MEMORY += \
arduino-leonardo \
arduino-mega2560 \
jiminy-mega256rfr2 \
mega-xplained \
waspmote-pro \
#
USEMODULE += posix_headers
USEMODULE += pthread

View File

@ -1,13 +1,11 @@
include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \
waspmote-pro
# arduino mega2560 uno duemilanove : unknown type name: clockid_t
# jiminy-mega256rfr2: unknown type name: clockid_t
# mega-xplained: unknown type name: clockid_t
BOARD_INSUFFICIENT_MEMORY = \
arduino-duemilanove \
arduino-nano \
arduino-uno \
nucleo-f031k6 \
#
USEMODULE += posix_headers
USEMODULE += pthread

View File

@ -1,21 +1,28 @@
include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \
waspmote-pro
# arduino mega2560 uno duemilanove : unknown type name: clockid_t
# jiminy-mega256rfr2: unknown type name: clockid_t
# mega-xplained: unknown type name: clockid_t
USEMODULE += pthread
USEMODULE += xtimer
USEMODULE += random
BOARD_INSUFFICIENT_MEMORY += chronos i-nucleo-lrwan1 \
msb-430 msb-430h nucleo-f031k6 \
nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \
nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \
stm32f0discovery stm32l0538-disco
BOARD_INSUFFICIENT_MEMORY = \
arduino-duemilanove \
arduino-leonardo \
arduino-nano \
arduino-uno \
chronos \
i-nucleo-lrwan1 \
msb-430 \
msb-430h \
nucleo-f030r8 \
nucleo-f031k6 \
nucleo-f042k6 \
nucleo-f303k8 \
nucleo-f334r8 \
nucleo-l031k6 \
nucleo-l053r8 \
stm32f0discovery \
stm32l0538-disco \
#
# HACK Blacklist native as `murdock` fails on utf-8 characters for native tests
TEST_ON_CI_BLACKLIST += native

View File

@ -1,13 +1,12 @@
include ../Makefile.tests_common
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \
arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \
waspmote-pro
# arduino mega2560 uno duemilanove : unknown type name: clockid_t
# jiminy-mega256rfr2: unknown type name: clockid_t
# mega-xplained: unknown type name: clockid_t
USEMODULE += posix_headers
USEMODULE += pthread
BOARD_INSUFFICIENT_MEMORY = \
arduino-duemilanove \
arduino-nano \
arduino-uno \
#
include $(RIOTBASE)/Makefile.include