Skip to content

Commit 2e21f71

Browse files
committed
Fixed the build tools test case failure
1 parent 8ee62e9 commit 2e21f71

File tree

28 files changed

+172
-17
lines changed

28 files changed

+172
-17
lines changed

tools/test/config/app_override_libs/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"extra_labels": [],
55
"features": [],
66
"default_lib": "std",
7-
"supported_toolchains": ["GCC_ARM"]
7+
"supported_toolchains": ["GCC_ARM"],
8+
"supported_c_libs": {
9+
"arm": ["std"],
10+
"gcc_arm": ["std", "small"],
11+
"iar": ["std"]
12+
}
813
}
914
}

tools/test/config/compound_inheritance/targets.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"supported_toolchains": ["GCC_ARM"],
44
"extra_labels": [],
55
"default_lib": "std",
6+
"supported_c_libs": {
7+
"arm": ["std"],
8+
"gcc_arm": ["std", "small"],
9+
"iar": ["std"]
10+
},
611
"core": "Cortex-M0",
712
"config": {
813
"base1_1": "v_base1_1_b1",

tools/test/config/double_define/targets.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"supported_toolchains": ["GCC_ARM"],
44
"extra_labels": [],
55
"default_lib": "std",
6+
"supported_c_libs": {
7+
"arm": ["std"],
8+
"gcc_arm": ["std", "small"],
9+
"iar": ["std"]
10+
},
611
"core": "Cortex-M0",
712
"config": {
813
"base1_1": "v_base1_1_b1",
@@ -14,6 +19,11 @@
1419
"supported_toolchains": ["GCC_ARM"],
1520
"extra_labels": [],
1621
"default_lib": "std",
22+
"supported_c_libs": {
23+
"arm": ["std"],
24+
"gcc_arm": ["std", "small"],
25+
"iar": ["std"]
26+
},
1727
"core": "Cortex-M0",
1828
"config": {
1929
"base2_1": "v_base2_1_b2",

tools/test/config/feature_compesition/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"core": "Cortex-M0",
55
"extra_labels": [],
66
"features": [],
7-
"default_lib": "std"
7+
"default_lib": "std",
8+
"supported_c_libs": {
9+
"arm": ["std"],
10+
"gcc_arm": ["std", "small"],
11+
"iar": ["std"]
12+
}
813
}
914
}

tools/test/config/feature_recursive_add/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"core": "Cortex-M0",
55
"extra_labels": [],
66
"features": [],
7-
"default_lib": "std"
7+
"default_lib": "std",
8+
"supported_c_libs": {
9+
"arm": ["std"],
10+
"gcc_arm": ["std", "small"],
11+
"iar": ["std"]
12+
}
813
}
914
}

tools/test/config/feature_recursive_complex/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"core": "Cortex-M0",
55
"extra_labels": [],
66
"features": [],
7-
"default_lib": "std"
7+
"default_lib": "std",
8+
"supported_c_libs": {
9+
"arm": ["std"],
10+
"gcc_arm": ["std", "small"],
11+
"iar": ["std"]
12+
}
813
}
914
}

tools/test/config/feature_remove/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"core": "Cortex-M0",
55
"extra_labels": [],
66
"features": ["BOOTLOADER"],
7-
"default_lib": "std"
7+
"default_lib": "std",
8+
"supported_c_libs": {
9+
"arm": ["std"],
10+
"gcc_arm": ["std", "small"],
11+
"iar": ["std"]
12+
}
813
}
914
}

tools/test/config/lib_requires_missing_lib/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"core": "Cortex-M0",
55
"extra_labels": [],
66
"features": [],
7-
"default_lib": "std"
7+
"default_lib": "std",
8+
"supported_c_libs": {
9+
"arm": ["std"],
10+
"gcc_arm": ["std", "small"],
11+
"iar": ["std"]
12+
}
813
}
914
}

tools/test/config/macro_inheritance/targets.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
"core": "Cortex-M0",
55
"extra_labels": [],
66
"features": [],
7-
"default_lib": "std"
7+
"default_lib": "std",
8+
"supported_c_libs": {
9+
"arm": ["std"],
10+
"gcc_arm": ["std", "small"],
11+
"iar": ["std"]
12+
}
813
}
914
}

tools/test/config/override_labels_libs/targets.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"supported_toolchains": ["GCC_ARM"],
44
"extra_labels": [],
55
"default_lib": "std",
6+
"supported_c_libs": {
7+
"arm": ["std"],
8+
"gcc_arm": ["std", "small"],
9+
"iar": ["std"]
10+
},
611
"core": "Cortex-M0"
712
},
813
"b1": {

0 commit comments

Comments
 (0)