[tools] Added test for removing features

pull/2281/head
Christopher Haster 2016-07-27 18:01:33 -05:00
parent f3c0ea3664
commit 63f9b03e35
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,8 @@
{
"name": "lib1",
"target_overrides": {
"*": {
"target.features_remove": ["IPV4"]
}
}
}

View File

@ -0,0 +1,11 @@
{
"custom_targets": {
"test_target": {
"core": "Cortex-M0",
"extra_labels": [],
"features": ["IPV4"],
"default_build": "standard"
}
}
}

View File

@ -0,0 +1,8 @@
# Testing when adding two features
expected_results = {
"test_target": {
"desc": "test removing features",
"expected_features": []
}
}