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
|
|
|
|
|
|
|
|
# do the same for Kconfig builds
|
2021-01-20 17:35:01 +01:00
|
|
|
ifeq (1,$(TEST_KCONFIG))
|
2022-03-25 09:37:25 +01:00
|
|
|
KCONFIG_ADD_CONFIG += $(RIOTBASE)/tests/test_utils.config
|
2021-01-20 17:35:01 +01:00
|
|
|
endif
|
2020-01-19 20:31:37 +01:00
|
|
|
endif
|
2019-10-10 01:10:41 +02:00
|
|
|
|
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
|