mirror of https://github.com/ARMmbed/mbed-os.git
[tools] Added specific config test for uvisor
Unlike other libraries, uvisor is currently integrated into the build system, with special cases based on its addition as a feature. This suggests we should also have tests for these special cases.pull/2317/head
parent
6ea4006b5a
commit
b45ec0ed76
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"custom_targets": {
|
||||
"test_target": {
|
||||
"core": "Cortex-M0",
|
||||
"extra_labels": [],
|
||||
"features": [],
|
||||
"default_build": "standard"
|
||||
}
|
||||
},
|
||||
"target_overrides": {
|
||||
"*": {
|
||||
"target.features_add": ["UVISOR"],
|
||||
"target.extra_labels_add": ["UVISOR_SUPPORTED"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Testing when adding two features
|
||||
|
||||
expected_results = {
|
||||
"test_target": {
|
||||
"desc": "test uvisor feature",
|
||||
"expected_features": ["UVISOR"]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue