Skip to content

Commit

Permalink
Merge pull request #12455 from miri64/tests/cleanup/unittests-blacklist
Browse files Browse the repository at this point in the history
unittests: remove board blacklist, fix doc for MCU architectures
  • Loading branch information
maribu authored Oct 15, 2019
2 parents 7427d66 + 117ff2f commit 63be700
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/unittests/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
DEVELHELP ?= 0
include ../Makefile.tests_common

# Issue with integer width
# There are present for a long time but hidden by being not compiled
BOARD_BLACKLIST += arduino-duemilanove
BOARD_BLACKLIST += arduino-leonardo
BOARD_BLACKLIST += arduino-mega2560
BOARD_BLACKLIST += arduino-nano
BOARD_BLACKLIST += arduino-uno
BOARD_BLACKLIST += chronos
BOARD_BLACKLIST += mega-xplained
BOARD_BLACKLIST += msb-430
BOARD_BLACKLIST += msb-430h
BOARD_BLACKLIST += telosb
BOARD_BLACKLIST += waspmote-pro
BOARD_BLACKLIST += wsn430-v1_3b
BOARD_BLACKLIST += wsn430-v1_4
BOARD_BLACKLIST += z1

BOARD_INSUFFICIENT_MEMORY := airfy-beacon \
arduino-duemilanove \
arduino-leonardo \
Expand Down
4 changes: 4 additions & 0 deletions tests/unittests/tests-pkt/Makefile.include
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
USEMODULE += gnrc_ipv6

# Test assumes 32-bit width for `size_t` which is only the case on our 32-bit
# platforms
FEATURES_REQUIRED += arch_32bit
7 changes: 7 additions & 0 deletions tests/unittests/tests-rtc/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
CFLAGS += -DRTC_NORMALIZE_COMPAT=1

USEMODULE += periph_rtc_common

# MSP-430's libc does not provide `mktime()` used by this test
FEATURES_BLACKLIST += arch_msp430

# AVR/ATmega uses `int8_t` for `struct tm` which leads to integer overflows
# in these tests
FEATURES_BLACKLIST += arch_avr8

0 comments on commit 63be700

Please sign in to comment.