1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/makefiles/tests/feature_resolution/Makefile.test
Marian Buschsieweke ed2ae85985
tests/feature_resolution: add build system unit tests
This test "application" contains a set of unit tests for the feature resolution
of RIOT's build system.
2021-02-10 21:05:38 +01:00

24 lines
427 B
Makefile

include ../../features_check.inc.mk
FEATURES_VARS := \
FEATURES_CONFLICTING \
FEATURES_USED \
FEATURES_USED_BLACKLISTED \
FEATURES_MISSING \
#
define _expected =
ifneq ($$(EXPECTED_$1),$$($1))
$$(info EXPECTED_$1 = $$(EXPECTED_$1))
$$(info $1 = $$($1))
$$(error $1 incorrectly resolved)
endif
endef
$(foreach var,$(FEATURES_VARS),$(eval $(call _expected,$(var))))
.PHONY: all
all:
@echo Success