mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/*: Remove TEST_KCONFIG symbols
This commit is contained in:
parent
9c9cc379a9
commit
20fcb1d99d
@ -5,11 +5,6 @@ ifneq (,$(wildcard $(CURDIR)/tests*/.))
|
||||
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
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(RIOTBASE)/tests/test_utils.config
|
||||
endif
|
||||
endif
|
||||
|
||||
# terminate native when the test is complete
|
||||
|
@ -8,8 +8,4 @@ USEPKG += external_pkg_1
|
||||
USEPKG += external_pkg_2
|
||||
EXTERNAL_PKG_DIRS += external_pkgs
|
||||
|
||||
ifeq (1, $(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config
|
||||
endif
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -5,10 +5,6 @@ USEMODULE += grove_ledbar
|
||||
# disable native GPIOs for automatic test
|
||||
ifneq (,$(filter native native64,$(BOARD)))
|
||||
USEMODULE += periph_gpio_mock
|
||||
# the same for Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||
endif
|
||||
endif
|
||||
|
||||
# set default device parameters in case they are undefined
|
||||
|
@ -5,10 +5,6 @@ USEMODULE += hd44780
|
||||
# disable native GPIOs for automatic test
|
||||
ifneq (,$(filter native native64,$(BOARD)))
|
||||
USEMODULE += periph_gpio_mock
|
||||
# the same for Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
@ -5,10 +5,6 @@ USEMODULE += my9221
|
||||
# disable native GPIOs for automatic test
|
||||
ifneq (,$(filter native native64,$(BOARD)))
|
||||
USEMODULE += periph_gpio_mock
|
||||
# the same for Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||
endif
|
||||
endif
|
||||
|
||||
# set default device parameters in case they are undefined
|
||||
|
@ -30,10 +30,6 @@ ifneq (,$(filter native native64,$(BOARD)))
|
||||
ZEP_PORT_BASE ?= 17754
|
||||
TERMFLAGS += -z [::1]:$(ZEP_PORT_BASE)
|
||||
USEMODULE += socket_zep
|
||||
# the same for Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||
endif
|
||||
endif
|
||||
|
||||
USEMODULE += od
|
||||
|
@ -13,10 +13,6 @@ USEMODULE += benchmark
|
||||
# disable native GPIOs for automatic test
|
||||
ifneq (,$(filter native native64,$(BOARD)))
|
||||
USEMODULE += periph_gpio_mock
|
||||
# the same for Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.test.native
|
||||
endif
|
||||
endif
|
||||
|
||||
BOARDS_BENCH_PORT_1 = \
|
||||
|
@ -7,9 +7,9 @@ USEMODULE += shell_cmds_default
|
||||
USEMODULE += shell_lock
|
||||
USEMODULE += shell_lock_auto_locking
|
||||
|
||||
ifneq (1,$(TEST_KCONFIG))
|
||||
CFLAGS += -DCONFIG_SHELL_LOCK_PASSWORD=\"password\"
|
||||
CFLAGS += -DCONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS=7000
|
||||
ifneq (1, $(SHOULD_RUN_KCONFIG))
|
||||
CFLAGS += -DCONFIG_SHELL_LOCK_PASSWORD=\"password\"
|
||||
CFLAGS += -DCONFIG_SHELL_LOCK_AUTO_LOCK_TIMEOUT_MS=7000
|
||||
endif
|
||||
|
||||
# test_utils_interactive_sync_shell assumes that the prompt is always '> ' which breaks
|
||||
|
@ -6,10 +6,6 @@ USEMODULE += ztimer
|
||||
USEMODULE += ztimer_usec
|
||||
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_MSEC)
|
||||
USEMODULE += ztimer_msec
|
||||
# the same for Kconfig
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
KCONFIG_ADD_CONFIG += $(APPDIR)/app.config.msec.test
|
||||
endif
|
||||
endif
|
||||
ifeq ($(TEST_ZTIMER_CLOCK), ZTIMER_SEC)
|
||||
USEMODULE += ztimer_sec
|
||||
|
Loading…
Reference in New Issue
Block a user