summaryrefslogtreecommitdiffhomepage
path: root/test/fuse/linux/BUILD
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-08-12 14:36:04 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-12 14:36:04 -0700
commite6df6222accfc44c351f7dbaaf6a57ae1003881f (patch)
tree968ddf91b34dbe1b5b2f845031f35a7670d9e180 /test/fuse/linux/BUILD
parent00b684ea7fd96beb32d1517dd06c5d736621ff70 (diff)
parent51e64d2fc590b0271d4e0cbbc75882cf81ada182 (diff)
Merge pull request #3250 from craig08:fuse-getattr
PiperOrigin-RevId: 326313858
Diffstat (limited to 'test/fuse/linux/BUILD')
-rw-r--r--test/fuse/linux/BUILD21
1 files changed, 16 insertions, 5 deletions
diff --git a/test/fuse/linux/BUILD b/test/fuse/linux/BUILD
index 49dc96c20..4871bb531 100644
--- a/test/fuse/linux/BUILD
+++ b/test/fuse/linux/BUILD
@@ -1,20 +1,31 @@
-load("//tools:defs.bzl", "cc_library", "gtest")
+load("//tools:defs.bzl", "cc_binary", "cc_library", "gtest")
package(
default_visibility = ["//:sandbox"],
licenses = ["notice"],
)
+cc_binary(
+ name = "stat_test",
+ testonly = 1,
+ srcs = ["stat_test.cc"],
+ deps = [
+ gtest,
+ ":fuse_base",
+ "//test/util:test_main",
+ "//test/util:test_util",
+ ],
+)
+
cc_library(
name = "fuse_base",
testonly = 1,
- srcs = [
- "fuse_base.cc",
- "fuse_base.h",
- ],
+ srcs = ["fuse_base.cc"],
+ hdrs = ["fuse_base.h"],
deps = [
gtest,
"//test/util:posix_error",
+ "//test/util:temp_path",
"//test/util:test_util",
"@com_google_absl//absl/strings:str_format",
],