Skip to content

Commit

Permalink
test_utils: add bazel build
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Jun 11, 2024
1 parent 8f5d006 commit de3d6ef
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions src/v/test_utils/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
load("//bazel:build.bzl", "redpanda_cc_library")

redpanda_cc_library(
name = "gtest",
srcs = [
"gtest_main.cc",
"gtest_utils.cc",
],
hdrs = [
"gtest_utils.h",
"randoms.h",
"test.h",
],
include_prefix = "test_utils",
visibility = ["//visibility:public"],
deps = [
"//src/v/base",
"//src/v/container:fragmented_vector",
"//src/v/random",
"//src/v/utils:tristate",
"@googletest//:gtest",
"@seastar//:testing",
"@abseil-cpp//absl/container:node_hash_map",
"@abseil-cpp//absl/container:node_hash_set",
"@abseil-cpp//absl/container:btree",
],
)

redpanda_cc_library(
name = "seastar_boost",
srcs = [
"seastar_testing_main.cc",
],
hdrs = [
],
include_prefix = "test_utils",
visibility = ["//visibility:public"],
deps = [
"@seastar//:testing",
],
)

0 comments on commit de3d6ef

Please sign in to comment.