Skip to content

Commit 63f9b03

Browse files
committed
[tools] Added test for removing features
1 parent f3c0ea3 commit 63f9b03

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"name": "lib1",
3+
"target_overrides": {
4+
"*": {
5+
"target.features_remove": ["IPV4"]
6+
}
7+
}
8+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"custom_targets": {
3+
"test_target": {
4+
"core": "Cortex-M0",
5+
"extra_labels": [],
6+
"features": ["IPV4"],
7+
"default_build": "standard"
8+
}
9+
}
10+
}
11+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Testing when adding two features
2+
3+
expected_results = {
4+
"test_target": {
5+
"desc": "test removing features",
6+
"expected_features": []
7+
}
8+
}

0 commit comments

Comments
 (0)