2014-07-22 20:24:45 +02:00
|
|
|
include ../Makefile.tests_common
|
|
|
|
|
2018-02-27 14:09:23 +01:00
|
|
|
BOARD_BLACKLIST := arduino-mega2560 waspmote-pro arduino-uno arduino-duemilanove \
|
2018-03-24 04:05:13 +01:00
|
|
|
jiminy-mega256rfr2 mega-xplained
|
2014-07-15 12:11:04 +02:00
|
|
|
# arduino-mega2560: builds locally but breaks travis (possibly because of
|
|
|
|
# differences in the toolchain)
|
2014-07-22 20:24:45 +02:00
|
|
|
# The MSP boards don't feature round(), exp(), and log(), which are used in the unittests
|
2015-07-07 00:08:26 +02:00
|
|
|
BOARD_BLACKLIST += chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1
|
2014-07-22 20:24:45 +02:00
|
|
|
|
2018-05-23 12:50:33 +02:00
|
|
|
BOARD_INSUFFICIENT_MEMORY := nucleo-f031k6 nucleo-f042k6 nucleo-l031k6
|
2016-05-12 16:39:43 +02:00
|
|
|
|
2014-07-22 20:24:45 +02:00
|
|
|
USEMODULE += libfixmath-unittests
|
|
|
|
|
2017-11-15 11:31:49 +01:00
|
|
|
ifneq (,$(filter native,$(BOARD)))
|
2015-07-22 09:49:28 +02:00
|
|
|
export LINKFLAGS += -lm
|
|
|
|
endif
|
|
|
|
|
2018-04-30 19:12:16 +02:00
|
|
|
USEMODULE += printf_float
|
|
|
|
|
2018-04-23 17:07:02 +02:00
|
|
|
TEST_ON_CI_WHITELIST += native
|
|
|
|
|
2014-07-22 20:24:45 +02:00
|
|
|
include $(RIOTBASE)/Makefile.include
|
2017-11-11 23:14:57 +01:00
|
|
|
|
|
|
|
test:
|
|
|
|
tests/01-run.py
|