For the RIOT port of Lua, the module loader has been more or less rewritten to allow for easily integrating source modules defined in static arrays and C modules embedded in the application. So far the loader had not been tested (and a bug was found). This test should give a bit more certainty that the RIOT integration works as it should.
17 lines
365 B
Makefile
17 lines
365 B
Makefile
include ../Makefile.tests_common
|
|
|
|
USEPKG += lua
|
|
|
|
BOARD_WHITELIST += native samr21-xpro
|
|
|
|
ifneq ($(BOARD),native)
|
|
# This stack size is large enough to run Lua print() functions of
|
|
# various lengths. Other functions untested.
|
|
CFLAGS += -DTHREAD_STACKSIZE_MAIN='(THREAD_STACKSIZE_DEFAULT+2048)'
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.include
|
|
|
|
test:
|
|
tests/01-run.py
|