mirror of
https://github.com/gosticks/RIOT.git
synced 2025-10-16 12:05:37 +00:00
unittests: unify configuration of large main stack
This commit is contained in:
parent
47998af5ee
commit
809c4b7724
@ -207,6 +207,15 @@ ifneq (,$(filter tests-cpp_%, $(UNIT_TESTS)))
|
||||
export CPPMIX := 1
|
||||
endif
|
||||
|
||||
ifneq (, $(filter $(AVR_BOARDS), $(BOARD)))
|
||||
LARGE_STACK_TESTS += tests-qDSA
|
||||
endif
|
||||
|
||||
LARGE_STACK_TESTS += tests-tweetnacl
|
||||
ifneq (,$(filter $(LARGE_STACK_TESTS), $(UNIT_TESTS)))
|
||||
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF\)
|
||||
endif
|
||||
|
||||
DISABLE_MODULE += auto_init
|
||||
|
||||
# Pull in `Makefile.include`s from the test suites:
|
||||
|
||||
@ -1,4 +1,2 @@
|
||||
USEMODULE += random
|
||||
USEPKG += tweetnacl
|
||||
|
||||
CFLAGS += -DTHREAD_STACKSIZE_MAIN=\(4*THREAD_STACKSIZE_DEFAULT+THREAD_EXTRA_STACKSIZE_PRINTF\)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user