mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
makefiles/tests: add unit tests for fixed bug
Make sure that optional features that would cause conflicts don't end up being used again.
This commit is contained in:
parent
43781c3fba
commit
47414f8e3b
15
makefiles/tests/feature_resolution/test-conflict-optional.mk
Normal file
15
makefiles/tests/feature_resolution/test-conflict-optional.mk
Normal file
@ -0,0 +1,15 @@
|
||||
# inputs
|
||||
FEATURES_OPTIONAL := b
|
||||
FEATURES_REQUIRED := a c
|
||||
FEATURES_REQUIRED_ANY :=
|
||||
FEATURES_PROVIDED := a b c d
|
||||
FEATURES_BLACKLIST :=
|
||||
FEATURES_CONFLICT := a:b c:d
|
||||
|
||||
# expected results
|
||||
EXPECTED_FEATURES_USED := a c
|
||||
EXPECTED_FEATURES_MISSING :=
|
||||
EXPECTED_FEATURES_USED_BLACKLISTED :=
|
||||
EXPECTED_FEATURES_CONFLICTING :=
|
||||
|
||||
include Makefile.test
|
Loading…
Reference in New Issue
Block a user