mirror of https://github.com/ARMmbed/mbed-os.git
Add test that missing requires cause a config failure
parent
79eccd1733
commit
4dd525d0af
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "lib1",
|
||||
"requires": ["lib2"],
|
||||
"config": {
|
||||
"test": "BAD"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "lib2",
|
||||
"requires": ["lib3"],
|
||||
"config": {
|
||||
"test": {
|
||||
"value": "BAD"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"requires" : ["lib1"],
|
||||
"target_overrides": {
|
||||
"test_target": {
|
||||
"lib2.test": "GOOD",
|
||||
"lib1.test": "GOOD"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"test_target": {
|
||||
"supported_toolchains": ["GCC_ARM"],
|
||||
"core": "Cortex-M0",
|
||||
"extra_labels": [],
|
||||
"features": [],
|
||||
"default_lib": "std"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"test_target": {
|
||||
"exception_msg": "'lib2' requires 'lib3' which is not present"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue