summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2018-12-19 13:14:53 -0800
committerShentubot <shentubot@google.com>2018-12-19 13:16:06 -0800
commitff7178a4d10f9f1fb34e54fed5ef27cfbff5d6f9 (patch)
treeb49fb1a2b4cbb1291f41502a7494a1d56a395a87 /test/syscalls/linux/BUILD
parent898838e34d1b0c76405f3e7f7f5fa7f1a444da0e (diff)
Implement pwritev2.
Implement pwritev2 and associated unit tests. Clean up preadv2 unit tests. Tag RWF_ flags in both preadv2 and pwritev2 with associated bug tickets. PiperOrigin-RevId: 226222119 Change-Id: Ieb22672418812894ba114bbc88e67f1dd50de620
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD27
1 files changed, 23 insertions, 4 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index aca55f492..f13e32daa 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -1338,18 +1338,18 @@ cc_binary(
name = "preadv2_test",
testonly = 1,
srcs = [
+ "file_base.h",
"preadv2.cc",
- "readv_common.cc",
- "readv_common.h",
],
linkstatic = 1,
deps = [
- ":file_base",
"//test/util:file_descriptor",
- "//test/util:memory_util",
+ "//test/util:posix_error",
"//test/util:temp_path",
"//test/util:test_main",
"//test/util:test_util",
+ "@com_google_absl//absl/memory",
+ "@com_google_absl//absl/strings",
"@com_google_googletest//:gtest",
],
)
@@ -1453,6 +1453,25 @@ cc_binary(
)
cc_binary(
+ name = "pwritev2_test",
+ testonly = 1,
+ srcs = [
+ "pwritev2.cc",
+ ],
+ linkstatic = 1,
+ deps = [
+ ":file_base",
+ "//test/util:file_descriptor",
+ "//test/util:posix_error",
+ "//test/util:temp_path",
+ "//test/util:test_main",
+ "//test/util:test_util",
+ "@com_google_absl//absl/strings",
+ "@com_google_googletest//:gtest",
+ ],
+)
+
+cc_binary(
name = "read_test",
testonly = 1,
srcs = ["read.cc"],