Skip to content

Commit

Permalink
pw_bluetooth_sapphire: Add transport Bazel unit test target
Browse files Browse the repository at this point in the history
Bug: b/359241441
Test: bazel test //pw_bluetooth_sapphire/host/...
      --platforms=//pw_unit_test:googletest_platform
      --@pigweed//pw_unit_test:backend=@pigweed//pw_unit_test:googletest
Change-Id: I9f66bf89bc4fff1dd787aa633f4f0309fa246dec
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/234092
Reviewed-by: Faraaz Sareshwala <[email protected]>
Commit-Queue: Ben Lawson <[email protected]>
Pigweed-Auto-Submit: Ben Lawson <[email protected]>
Lint: Lint 🤖 <[email protected]>
Reviewed-by: Ali Saeed <[email protected]>
  • Loading branch information
BenjaminLawson authored and CQ Bot Account committed Sep 5, 2024
1 parent 006f279 commit f56b3e7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pw_bluetooth_sapphire/host/transport/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# License for the specific language governing permissions and limitations under
# the License.

load("@pigweed//pw_build:pigweed.bzl", "pw_cc_test")

package(default_visibility = ["//visibility:public"])

exports_files(glob(["**/*"]))
Expand Down Expand Up @@ -79,9 +81,8 @@ filegroup(
],
)

cc_library(
name = "transport_test.lib",
testonly = True,
pw_cc_test(
name = "transport_test",
srcs = [
"acl_data_channel_test.cc",
"command_channel_test.cc",
Expand All @@ -94,12 +95,9 @@ cc_library(
"slab_allocators_test.cc",
"transport_test.cc",
],
tags = ["manual"],
visibility = ["//visibility:public"],
test_main = "//pw_bluetooth_sapphire/host/testing:gtest_main",
deps = [
":transport",
"//pw_bluetooth_sapphire/host/testing",
"//pw_bluetooth_sapphire/host/testing:gtest_main",
],
alwayslink = 1,
)

0 comments on commit f56b3e7

Please sign in to comment.