mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ed2ae85985
This test "application" contains a set of unit tests for the feature resolution of RIOT's build system.
24 lines
427 B
Makefile
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
|