summaryrefslogtreecommitdiff
path: root/sh/sh_binary_test.go
diff options
context:
space:
mode:
author Liana Kazanova <lkazanova@google.com> 2024-11-07 22:37:01 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-07 22:37:01 +0000
commit876b8038f99383c25401e79c9fead47305b13eec (patch)
tree4aec10e56d0c3d01160c0d6dd3100f7b94e066fe /sh/sh_binary_test.go
parent45dca5c8cc538392edbde4ee1077fc86509b2e38 (diff)
Revert "test_module_config for sh_test"
This reverts commit 45dca5c8cc538392edbde4ee1077fc86509b2e38. Reason for revert: DroidMonitor: Potential culprit for http://b/377964351 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted. Change-Id: Idd5e4b0d04b3c04dc1cfc4541615fc5f42a85c3e
Diffstat (limited to 'sh/sh_binary_test.go')
-rw-r--r--sh/sh_binary_test.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/sh/sh_binary_test.go b/sh/sh_binary_test.go
index 28f997d8e..5a5043946 100644
--- a/sh/sh_binary_test.go
+++ b/sh/sh_binary_test.go
@@ -176,22 +176,6 @@ func TestShTestHost(t *testing.T) {
android.AssertBoolEquals(t, "LOCAL_IS_UNIT_TEST", true, actualData)
}
-func TestShTestExtraTestConfig(t *testing.T) {
- result, _ := testShBinary(t, `
- sh_test {
- name: "foo",
- src: "test.sh",
- filename: "test.sh",
- extra_test_configs: ["config1.xml", "config2.xml"],
- }
- `)
-
- mod := result.ModuleForTests("foo", "android_arm64_armv8-a").Module().(*ShTest)
- entries := android.AndroidMkEntriesForTest(t, result, mod)[0]
- actualData := entries.EntryMap["LOCAL_EXTRA_FULL_TEST_CONFIGS"]
- android.AssertStringPathsRelativeToTopEquals(t, "extra_configs", result.Config(), []string{"config1.xml", "config2.xml"}, actualData)
-}
-
func TestShTestHost_dataDeviceModules(t *testing.T) {
ctx, config := testShBinary(t, `
sh_test_host {