roll: pigweed pw_unit_test: Define pw::Status matchers
Adds PW_TEST_EXPECT_OK, PW_TEST_ASSERT_OK, PW_TEST_ASSERT_OK_AND_ASSIGN
These extend the pw_unit_test API surface to provide test matchers for
pw::Status/Result.
A copy of these were added to the googletest_test_matchers helpers but
could have conflicted with the gtest/absl variants. Rename those as
well, and expose them through the status_test_matchers.h header so tests
that use these new macros can be used with either backend.
Original-Bug: 338094795
Original-Bug: 315370328
Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/243615
Original-Revision: ce0e3e2d1b7eec7cdf59fbb2ceed2b1cb3edd1ec
Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: a4636bc83d6905..ce0e3e2d1b7eec
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8733395830300599217
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I766f58702c9beda1b17d9bc5e3968f505acbf2a8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/243815
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
diff --git a/MODULE.bazel b/MODULE.bazel
index 5e04359..fb28dac 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -49,8 +49,8 @@
module_name = "pigweed",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-22.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8733408859002180305.
- commit = "a4636bc83d6905cb252a65d19eab4ec2478af42b",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8733395830300599217.
+ commit = "ce0e3e2d1b7eec7cdf59fbb2ceed2b1cb3edd1ec",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
)
@@ -58,8 +58,8 @@
module_name = "pw_toolchain",
# ROLL: Warning: this entry is automatically updated.
# ROLL: Last updated 2024-10-22.
- # ROLL: By https://cr-buildbucket.appspot.com/build/8733408859002180305.
- commit = "a4636bc83d6905cb252a65d19eab4ec2478af42b",
+ # ROLL: By https://cr-buildbucket.appspot.com/build/8733395830300599217.
+ commit = "ce0e3e2d1b7eec7cdf59fbb2ceed2b1cb3edd1ec",
remote = "https://pigweed.googlesource.com/pigweed/pigweed",
strip_prefix = "pw_toolchain_bazel",
)