diff --git a/pkg/ubasic/Makefile.dep b/pkg/ubasic/Makefile.dep new file mode 100644 index 0000000000..969ed83eb4 --- /dev/null +++ b/pkg/ubasic/Makefile.dep @@ -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 diff --git a/tests/pkg_ubasic/Makefile b/tests/pkg_ubasic/Makefile index 4d19a87516..f40baa0cba 100644 --- a/tests/pkg_ubasic/Makefile +++ b/tests/pkg_ubasic/Makefile @@ -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