Add test for capitalized Soong config variable am: 3beeb1ebb4
Change-Id: I5ca4182a37793e521776550ff54ed3c0f5ddd659
This commit is contained in:
@@ -43,7 +43,7 @@ func TestSoongConfigModule(t *testing.T) {
|
|||||||
name: "acme_test_defaults",
|
name: "acme_test_defaults",
|
||||||
module_type: "test_defaults",
|
module_type: "test_defaults",
|
||||||
config_namespace: "acme",
|
config_namespace: "acme",
|
||||||
variables: ["board", "feature1", "feature2", "feature3"],
|
variables: ["board", "feature1", "feature2", "FEATURE3"],
|
||||||
properties: ["cflags", "srcs"],
|
properties: ["cflags", "srcs"],
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ func TestSoongConfigModule(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
soong_config_bool_variable {
|
soong_config_bool_variable {
|
||||||
name: "feature3",
|
name: "FEATURE3",
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ func TestSoongConfigModule(t *testing.T) {
|
|||||||
feature2: {
|
feature2: {
|
||||||
cflags: ["-DFEATURE2"],
|
cflags: ["-DFEATURE2"],
|
||||||
},
|
},
|
||||||
feature3: {
|
FEATURE3: {
|
||||||
cflags: ["-DFEATURE3"],
|
cflags: ["-DFEATURE3"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user