2017-12-01 09:17:08 +01:00
|
|
|
APPLICATION ?= tests_$(notdir $(patsubst %/,%,$(CURDIR)))
|
2019-10-10 01:10:41 +02:00
|
|
|
|
2021-01-15 10:37:47 +01:00
|
|
|
ifneq (,$(wildcard $(CURDIR)/tests*/.))
|
2021-01-20 17:35:01 +01:00
|
|
|
# add interactive test configuration when testing Kconfig
|
2022-03-25 09:37:25 +01:00
|
|
|
DEFAULT_MODULE += test_utils_interactive_sync
|
|
|
|
# add stack metric printing configuration when testing Kconfig
|
|
|
|
DEFAULT_MODULE += test_utils_print_stack_usage
|
2020-01-19 20:31:37 +01:00
|
|
|
endif
|
2019-10-10 01:10:41 +02:00
|
|
|
|
2024-03-04 14:10:06 +01:00
|
|
|
# terminate native when the test is complete
|
|
|
|
CFLAGS += -DNATIVE_AUTO_EXIT=1
|
|
|
|
|
2014-05-05 21:54:10 +02:00
|
|
|
BOARD ?= native
|
|
|
|
RIOTBASE ?= $(CURDIR)/../..
|
|
|
|
QUIET ?= 1
|
2017-11-14 11:06:57 +01:00
|
|
|
# DEVELHELP enabled by default for all tests, set 0 to disable
|
|
|
|
DEVELHELP ?= 1
|