Skip to content

Commit

Permalink
pw_thread_stl: Disable Bazel tests failing on Windows
Browse files Browse the repository at this point in the history
Previously disabled in the GN build in pwrev/186253, disabling in Bazel too.

Bug: b/317922402
Change-Id: If79ad077944b8b1096b95ce3082a1ef4040bedac
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/186242
Reviewed-by: Erik Gilling <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
Pigweed-Auto-Submit: Armando Montanez <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
  • Loading branch information
armandomontanez authored and CQ Bot Account committed Dec 28, 2023
1 parent ec98d2f commit 5d0eaa7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pw_thread/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,13 @@ pw_cc_test(
srcs = [
"test_thread_context_facade_test.cc",
],
# TODO: b/317922402 - On Windows, this test can easily hang indefinitely.
# Disable on Windows until we can test with the native Windows SDK libraries
# for threading.
target_compatible_with = select({
"@platforms//os:windows": ["@platforms//:incompatible"],
"//conditions:default": [],
}),
deps = [
":test_thread_context",
":thread",
Expand Down
7 changes: 6 additions & 1 deletion pw_thread_stl/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,12 @@ pw_cc_library(

pw_cc_test(
name = "thread_backend_test",
target_compatible_with = select(TARGET_COMPATIBLE_WITH_HOST_SELECT),
# TODO: b/317922402 - On Windows, this test can easily hang indefinitely.
# Disable on Windows until we can test with the native Windows SDK libraries
# for threading.
target_compatible_with = select(TARGET_COMPATIBLE_WITH_HOST_SELECT | {
"@platforms//os:windows": ["@platforms//:incompatible"],
}),
deps = [
":non_portable_test_thread_options",
"//pw_thread:thread_facade_test",
Expand Down

0 comments on commit 5d0eaa7

Please sign in to comment.