Add test for capitalized Soong config variable am: 3beeb1ebb4 am: 13f04bef72

Change-Id: I408a16c903f5d8ef1137912b76e891766905841c
This commit is contained in:
Automerger Merge Worker
2020-02-06 21:48:39 +00:00

View File

@@ -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"],
}, },
}, },