Import Mbed OS hard-float snapshot
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "lib1",
|
||||
"requires": ["lib2"],
|
||||
"config": {
|
||||
"test": "BAD"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "lib2",
|
||||
"requires": ["lib3"],
|
||||
"config": {
|
||||
"test": {
|
||||
"value": "BAD"
|
||||
}
|
||||
}
|
||||
}
|
||||
9
tools/test/config/lib_requires_missing_lib/mbed_app.json
Normal file
9
tools/test/config/lib_requires_missing_lib/mbed_app.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"requires" : ["lib1"],
|
||||
"target_overrides": {
|
||||
"test_target": {
|
||||
"lib2.test": "GOOD",
|
||||
"lib1.test": "GOOD"
|
||||
}
|
||||
}
|
||||
}
|
||||
14
tools/test/config/lib_requires_missing_lib/targets.json
Normal file
14
tools/test/config/lib_requires_missing_lib/targets.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"test_target": {
|
||||
"supported_toolchains": ["GCC_ARM"],
|
||||
"core": "Cortex-M0",
|
||||
"extra_labels": [],
|
||||
"features": [],
|
||||
"c_lib": "std",
|
||||
"supported_c_libs": {
|
||||
"arm": ["std"],
|
||||
"gcc_arm": ["std", "small"],
|
||||
"iar": ["std"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"test_target": {
|
||||
"exception_msg": "'lib2' requires 'lib3' which is not present"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user