summaryrefslogtreecommitdiffhomepage
path: root/test/syscalls/linux/BUILD
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2019-01-29 08:00:33 -0800
committerShentubot <shentubot@google.com>2019-01-29 08:01:48 -0800
commit57c202ead2d937e40c5d10da409504ac474165d1 (patch)
tree1e0d3365e744b554570563c0f4c661377f475187 /test/syscalls/linux/BUILD
parent24cb2c0a7256cdb515c2fc2cfc90d130e2a405ef (diff)
Refactor out NewEventFD to a test utility.
PiperOrigin-RevId: 231404512 Change-Id: I31efcc23a0c4a48ef6fbba3ca07415d79290f55c
Diffstat (limited to 'test/syscalls/linux/BUILD')
-rw-r--r--test/syscalls/linux/BUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/syscalls/linux/BUILD b/test/syscalls/linux/BUILD
index 19884d55e..8cf83b311 100644
--- a/test/syscalls/linux/BUILD
+++ b/test/syscalls/linux/BUILD
@@ -481,6 +481,7 @@ cc_binary(
srcs = ["dup.cc"],
linkstatic = 1,
deps = [
+ "//test/util:eventfd_util",
"//test/util:file_descriptor",
"//test/util:posix_error",
"//test/util:temp_path",
@@ -497,6 +498,7 @@ cc_binary(
linkstatic = 1,
deps = [
"//test/util:epoll_util",
+ "//test/util:eventfd_util",
"//test/util:file_descriptor",
"//test/util:posix_error",
"//test/util:test_main",
@@ -511,6 +513,8 @@ cc_binary(
srcs = ["eventfd.cc"],
linkstatic = 1,
deps = [
+ "//test/util:epoll_util",
+ "//test/util:eventfd_util",
"//test/util:test_main",
"//test/util:test_util",
"//test/util:thread_util",
@@ -686,6 +690,7 @@ cc_binary(
deps = [
":socket_test_util",
"//test/util:cleanup",
+ "//test/util:eventfd_util",
"//test/util:multiprocess_util",
"//test/util:posix_error",
"//test/util:temp_path",
@@ -817,6 +822,7 @@ cc_binary(
srcs = ["getdents.cc"],
linkstatic = 1,
deps = [
+ "//test/util:eventfd_util",
"//test/util:file_descriptor",
"//test/util:fs_util",
"//test/util:posix_error",