summaryrefslogtreecommitdiff
path: root/filesystem/filesystem_test.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-03-25 04:10:50 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-03-25 04:10:50 +0000
commite58af3da5a4bc0452364632f3c7161233f5479ab (patch)
treee70b52d761eac415e61fa07772e99ad87aca6d72 /filesystem/filesystem_test.go
parent74ff1f80bc380134f00b6ce5a38509a223c6f101 (diff)
parent8bcf3c64f17fafd86758523b8f660e79be3a44f8 (diff)
Merge "Add required, host_required, and target_required as dependencies" into main
Diffstat (limited to 'filesystem/filesystem_test.go')
-rw-r--r--filesystem/filesystem_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/filesystem/filesystem_test.go b/filesystem/filesystem_test.go
index 6d62746ec..74c79e3bb 100644
--- a/filesystem/filesystem_test.go
+++ b/filesystem/filesystem_test.go
@@ -76,6 +76,11 @@ func TestFileSystemDeps(t *testing.T) {
cc_library {
name: "libbar",
+ required: ["libbaz"],
+ }
+
+ cc_library {
+ name: "libbaz",
}
`)
@@ -87,6 +92,7 @@ func TestFileSystemDeps(t *testing.T) {
"bin/foo",
"lib/libbar.so",
"lib64/libbar.so",
+ "lib64/libbaz.so",
"etc/bpf/bpf.o",
}
for _, e := range expected {