diff --git a/tests/build_system/kconfig_features/Kconfig b/tests/build_system/kconfig_features/Kconfig deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tests/build_system/kconfig_features/Makefile b/tests/build_system/kconfig_features/Makefile deleted file mode 100644 index b005a3de72..0000000000 --- a/tests/build_system/kconfig_features/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -include ../Makefile.build_system_common - -all: checks - -include $(RIOTBASE)/Makefile.include - -# List of variables to compare between Makefile and Kconfig -_VARS_TO_CHECK = BOARD CPU CPU_MODEL CPU_FAM CPU_CORE CPU_ARCH - -# Commands to diff in 'check-values' -_CMDS = $(foreach v,$(_VARS_TO_CHECK), $(if $($(v)),info-debug-variable-$(v))) -_CMDS_CONFIG = $(foreach v,$(_VARS_TO_CHECK), $(if $($(v)),info-debug-variable-CONFIG_$(v))) - -# Only compare variables that have a value in Makefile -checks: kconfig-features check-values - -kconfig-features: $(KCONFIG_OUT_CONFIG) - @bash -c 'diff <($(MAKE) info-features-provided) \ - <($(MAKE) dependency-debug-features-provided-kconfig) || \ - (echo "ERROR: Kconfig features mismatch" && exit 1)' - -check-values: $(KCONFIG_OUT_CONFIG) - @bash -c '(diff <($(MAKE) $(_CMDS) | sort) \ - <($(MAKE) $(_CMDS_CONFIG) | sort) && echo "SUCCESS: $(_CMDS:info-debug-variable-%=%) values match") || \ - (echo "ERROR: The value for $(_CMDS:info-debug-variable-%=%) in Kconfig does not match the one in the Makefile" && exit 1)' diff --git a/tests/build_system/kconfig_features/README.md b/tests/build_system/kconfig_features/README.md deleted file mode 100644 index 4190d12723..0000000000 --- a/tests/build_system/kconfig_features/README.md +++ /dev/null @@ -1,12 +0,0 @@ -## Kconfig features test - -The objective of this test is to control the synchronization of features -provided by boards via `Makefile.features` and `Kconfig` files during the -migration process. - -It also checks that multiple common variables (e.g. CPU_MODEL) have the same -value in the Makefiles and in Kconfig. - -The test checks during compilation that both lists of features provided by -the board match. The `BOARD_WHITELIST` is used to test only the boards that have -their features modelled in Kconfig. diff --git a/tests/build_system/kconfig_features/main.c b/tests/build_system/kconfig_features/main.c deleted file mode 100644 index 2a15483f39..0000000000 --- a/tests/build_system/kconfig_features/main.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright (C) 2019 HAW Hamburg - * - * This file is subject to the terms and conditions of the GNU Lesser General - * Public License v2.1. See the file LICENSE in the top level directory for more - * details. - */ - -/** - * @ingroup tests - * @{ - * - * @file - * @brief Test for Kconfig Features - * - * @author Leandro Lanzieri - * @author José I. Alamos - * - * @} - */ - -int main(void) -{ - return 0; -}