Merge pull request #12643 from aabadie/pr/pkg/ubasic_features_blacklist

pkg/ubasic: use features blacklist and remove use of BOARD_BLACKLIST in test
This commit is contained in:
Martine Lenders 2019-11-05 09:20:22 +01:00 committed by GitHub
commit d30a1ccbe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 28 deletions

11
pkg/ubasic/Makefile.dep Normal file
View File

@ -0,0 +1,11 @@
# avr-libc does not provide `clock `required by ubasic_tests
FEATURES_BLACKLIST += arch_avr8
# msp430-libc does not provide `stdout` variable required by ubasic_tests
FEATURES_BLACKLIST += arch_msp430
# newlib for MIPS does not provide _times_r
FEATURES_BLACKLIST += arch_mips32r2
# newlib for RISCV does not provide _times
FEATURES_BLACKLIST += arch_riscv

View File

@ -1,33 +1,5 @@
include ../Makefile.tests_common
# msp430-libc does not provide `stdout` variable required by ubasic_tests
# avr-libc does not provide `clock `required by ubasic_tests
# newlib for esp8266 and MIPS does not provide _times_r
BOARD_BLACKLIST := \
arduino-duemilanove \
arduino-leonardo \
arduino-mega2560 \
arduino-nano \
arduino-uno \
atmega328p \
chronos \
esp8266-esp-12x \
esp8266-olimex-mod \
hifive1 \
hifive1b \
mega-xplained \
microduino-corerf \
msb-430 \
msb-430h \
pic32-clicker \
pic32-wifire \
telosb \
waspmote-pro \
wsn430-v1_3b \
wsn430-v1_4 \
z1 \
#
USEPKG += ubasic
USEMODULE += ubasic_tests
USEMODULE += printf_float