summaryrefslogtreecommitdiff
path: root/filesystem/filesystem_test.go
diff options
context:
space:
mode:
author Pechetty Sravani (xWF) <pechetty@google.com> 2024-10-21 02:17:40 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-10-21 02:17:40 +0000
commit02adec80da9796d685765dfb2ee8e96518072d3c (patch)
treee63e72290487fdaac89902be34d568cf154af6b4 /filesystem/filesystem_test.go
parent8a49643e6b727490898ea94b41667eecf24685f2 (diff)
Revert "Use a partition packaging spec filter for android_filesystem"
This reverts commit 8a49643e6b727490898ea94b41667eecf24685f2. Reason for revert: <DroidMonitor created revert due to b/374395492.Will be verified through ABTD for standard investigation> Change-Id: I4494f15f1681bf2456439151771e84c7d1f221b7
Diffstat (limited to 'filesystem/filesystem_test.go')
-rw-r--r--filesystem/filesystem_test.go25
1 files changed, 0 insertions, 25 deletions
diff --git a/filesystem/filesystem_test.go b/filesystem/filesystem_test.go
index 1e508364c..057dcaaff 100644
--- a/filesystem/filesystem_test.go
+++ b/filesystem/filesystem_test.go
@@ -584,28 +584,3 @@ func TestErofsPartition(t *testing.T) {
android.AssertStringDoesContain(t, "erofs fs type compress hint", buildImageConfig, "erofs_default_compress_hints=compress_hints.txt")
android.AssertStringDoesContain(t, "erofs fs type sparse", buildImageConfig, "erofs_sparse_flag=-s")
}
-
-// If a system_ext/ module depends on system/ module, the dependency should *not*
-// be installed in system_ext/
-func TestDoNotPackageCrossPartitionDependencies(t *testing.T) {
- result := fixture.RunTestWithBp(t, `
- android_filesystem {
- name: "myfilesystem",
- deps: ["binfoo"],
- partition_type: "system_ext",
- }
-
- cc_binary {
- name: "binfoo",
- shared_libs: ["libfoo"],
- system_ext_specific: true,
- }
- cc_library_shared {
- name: "libfoo", // installed in system/
- }
- `)
-
- partition := result.ModuleForTests("myfilesystem", "android_common")
- fileList := android.ContentFromFileRuleForTests(t, result.TestContext, partition.Output("fileList"))
- android.AssertDeepEquals(t, "filesystem with dependencies on different partition", "bin/binfoo\n", fileList)
-}