aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@google.com>2018-10-15 06:39:18 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-11-30 10:27:34 -0800
commit12d9d04cb4768c1721bc8114451f54cc945d1b95 (patch)
tree3057f615b52ffbb3d57464abd8617d698785156a /test/cpp/microbenchmarks
parentb88dfc227cd8c9ceeb7797b3265905a93880a077 (diff)
Make microbenchmarks test targets
Diffstat (limited to 'test/cpp/microbenchmarks')
-rw-r--r--test/cpp/microbenchmarks/BUILD44
1 files changed, 13 insertions, 31 deletions
diff --git a/test/cpp/microbenchmarks/BUILD b/test/cpp/microbenchmarks/BUILD
index 097e92f583..5d12ffd20c 100644
--- a/test/cpp/microbenchmarks/BUILD
+++ b/test/cpp/microbenchmarks/BUILD
@@ -29,7 +29,6 @@ grpc_cc_test(
grpc_cc_library(
name = "helpers",
- testonly = 1,
srcs = ["helpers.cc"],
hdrs = [
"fullstack_context_mutators.h",
@@ -47,67 +46,58 @@ grpc_cc_library(
],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_closure",
- testonly = 1,
srcs = ["bm_closure.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_arena",
- testonly = 1,
srcs = ["bm_arena.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_channel",
- testonly = 1,
srcs = ["bm_channel.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_call_create",
- testonly = 1,
srcs = ["bm_call_create.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_cq",
- testonly = 1,
srcs = ["bm_cq.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_cq_multiple_threads",
- testonly = 1,
srcs = ["bm_cq_multiple_threads.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_error",
- testonly = 1,
srcs = ["bm_error.cc"],
deps = [":helpers"],
)
grpc_cc_library(
name = "fullstack_streaming_ping_pong_h",
- testonly = 1,
hdrs = [
"fullstack_streaming_ping_pong.h",
],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_fullstack_streaming_ping_pong",
- testonly = 1,
srcs = [
"bm_fullstack_streaming_ping_pong.cc",
],
@@ -116,16 +106,14 @@ grpc_cc_binary(
grpc_cc_library(
name = "fullstack_streaming_pump_h",
- testonly = 1,
hdrs = [
"fullstack_streaming_pump.h",
],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_fullstack_streaming_pump",
- testonly = 1,
srcs = [
"bm_fullstack_streaming_pump.cc",
],
@@ -134,46 +122,40 @@ grpc_cc_binary(
grpc_cc_binary(
name = "bm_fullstack_trickle",
- testonly = 1,
srcs = ["bm_fullstack_trickle.cc"],
deps = [":helpers"],
)
grpc_cc_library(
name = "fullstack_unary_ping_pong_h",
- testonly = 1,
hdrs = [
"fullstack_unary_ping_pong.h",
],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_fullstack_unary_ping_pong",
- testonly = 1,
srcs = [
"bm_fullstack_unary_ping_pong.cc",
],
deps = [":fullstack_unary_ping_pong_h"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_metadata",
- testonly = 1,
srcs = ["bm_metadata.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_chttp2_hpack",
- testonly = 1,
srcs = ["bm_chttp2_hpack.cc"],
deps = [":helpers"],
)
-grpc_cc_binary(
+grpc_cc_test(
name = "bm_opencensus_plugin",
- testonly = 1,
srcs = ["bm_opencensus_plugin.cc"],
language = "C++",
deps = [