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 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 += posix_headers
USEMODULE += pthread USEMODULE += pthread

View File

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

View File

@ -1,12 +1,5 @@
include ../Makefile.tests_common 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 += pthread
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include

View File

@ -1,12 +1,5 @@
include ../Makefile.tests_common 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 BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6
USEMODULE += posix_headers USEMODULE += posix_headers

View File

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

View File

@ -1,13 +1,11 @@
include ../Makefile.tests_common include ../Makefile.tests_common
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 BOARD_INSUFFICIENT_MEMORY = \
arduino-duemilanove \
BOARD_BLACKLIST := arduino-duemilanove arduino-leonardo arduino-mega2560 \ arduino-nano \
arduino-nano arduino-uno jiminy-mega256rfr2 mega-xplained \ arduino-uno \
waspmote-pro nucleo-f031k6 \
# 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 += posix_headers
USEMODULE += pthread USEMODULE += pthread

View File

@ -1,21 +1,28 @@
include ../Makefile.tests_common 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 += pthread
USEMODULE += xtimer USEMODULE += xtimer
USEMODULE += random USEMODULE += random
BOARD_INSUFFICIENT_MEMORY += chronos i-nucleo-lrwan1 \ BOARD_INSUFFICIENT_MEMORY = \
msb-430 msb-430h nucleo-f031k6 \ arduino-duemilanove \
nucleo-f042k6 nucleo-l031k6 nucleo-f030r8 \ arduino-leonardo \
nucleo-f303k8 nucleo-f334r8 nucleo-l053r8 \ arduino-nano \
stm32f0discovery stm32l0538-disco 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 # HACK Blacklist native as `murdock` fails on utf-8 characters for native tests
TEST_ON_CI_BLACKLIST += native TEST_ON_CI_BLACKLIST += native

View File

@ -1,13 +1,12 @@
include ../Makefile.tests_common 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 += posix_headers
USEMODULE += pthread USEMODULE += pthread
BOARD_INSUFFICIENT_MEMORY = \
arduino-duemilanove \
arduino-nano \
arduino-uno \
#
include $(RIOTBASE)/Makefile.include include $(RIOTBASE)/Makefile.include