Add test for capitalized Soong config variable
Soong config variables come from Make where they might be capitalized, but Blueprint didn't handle capitalized variables well. Add test coverage for capitalized Soong config variables. Bug: 148865218 Test: soong_config_module_test.go Change-Id: I1e434e392d5ee660a221a0d3f959811c35e65865
This commit is contained in:
parent
39e545cc06
commit
3beeb1ebb4
1 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ func TestSoongConfigModule(t *testing.T) {
|
|||
name: "acme_test_defaults",
|
||||
module_type: "test_defaults",
|
||||
config_namespace: "acme",
|
||||
variables: ["board", "feature1", "feature2", "feature3"],
|
||||
variables: ["board", "feature1", "feature2", "FEATURE3"],
|
||||
properties: ["cflags", "srcs"],
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ func TestSoongConfigModule(t *testing.T) {
|
|||
}
|
||||
|
||||
soong_config_bool_variable {
|
||||
name: "feature3",
|
||||
name: "FEATURE3",
|
||||
}
|
||||
`
|
||||
|
||||
|
@ -91,7 +91,7 @@ func TestSoongConfigModule(t *testing.T) {
|
|||
feature2: {
|
||||
cflags: ["-DFEATURE2"],
|
||||
},
|
||||
feature3: {
|
||||
FEATURE3: {
|
||||
cflags: ["-DFEATURE3"],
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue