Add test case for requires from a library

pull/9561/head
Jimmy Brisson 2019-01-15 17:15:36 -06:00
parent 243b079d2b
commit 9f6a096205
6 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,7 @@
{
"name": "lib1",
"requires": ["lib2"],
"config": {
"test": "BAD"
}
}

View File

@ -0,0 +1,9 @@
{
"name": "lib2",
"requires": ["lib3"],
"config": {
"test": {
"value": "BAD"
}
}
}

View File

@ -0,0 +1,6 @@
{
"name": "lib3",
"config": {
"test": "BAD"
}
}

View File

@ -0,0 +1,10 @@
{
"requires" : ["lib1"],
"target_overrides": {
"test_target": {
"lib3.test": "GOOD",
"lib2.test": "GOOD",
"lib1.test": "GOOD"
}
}
}

View File

@ -0,0 +1,9 @@
{
"test_target": {
"supported_toolchains": ["GCC_ARM"],
"core": "Cortex-M0",
"extra_labels": [],
"features": [],
"default_lib": "std"
}
}

View File

@ -0,0 +1,7 @@
{
"test_target": {
"lib3.test": "GOOD",
"lib2.test": "GOOD",
"lib1.test": "GOOD"
}
}