-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Update googletest to 1.15.2 #36699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Update googletest to 1.15.2 #36699
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
aa0f563
Update googletest to 1.15.2
asedeno dfd9693
Adjust flags used by tests to accomodate googletest's move to absl flags
asedeno 4574384
Use googletest's new(ish) FLAGS macros.
asedeno d79d2d3
DeathTest updates
asedeno 5cc0564
Updates to DeathTest regular expressions to match multiline in re2
asedeno 36349b0
Fix an ambiguous-reversed-operator issue
asedeno 16b3729
Pick up a change from a previous attempt at updating googletest
asedeno b682527
googletest: load deps from googletest
asedeno 9c6c7b0
Use GMOCK_FLAG_SET
asedeno 41ab261
buffer_accounting_integration_test.cc: move deathtest alias and insta…
asedeno e8ee757
googletest patch: strip fuchsia out of BUILD.bazel
asedeno 452d443
more resources for tests that fail to build
asedeno 7b9e1a0
more resources for tests that fail to build
asedeno d9f0f95
more resources for tests that fail to build
asedeno 70380f4
Merge branch 'main' into update_googletest
asedeno aa8fd76
more resources for tests that fail to build
asedeno 1ae9162
more resources for tests that fail to build
asedeno 3c1a085
more resources for tests that fail to build
asedeno 44dc93d
more resources for tests that fail to build
asedeno 3782561
more resources for tests that fail to build
asedeno 7b83911
Mobile build pool doesn't have 2core/4core
asedeno 5e0f84f
more resources for tests that fail to build
asedeno 81863c8
more resources for tests that fail to build
asedeno a789e52
Merge branch 'main' into update_googletest
asedeno cb7205d
Merge branch 'main' into update_googletest
asedeno 7eced89
one more rbe_pool 2core -> 6gig
asedeno 6625d9b
Merge branch 'main' into update_googletest
asedeno d30def7
Merge branch 'main' into update_googletest
asedeno 5588d1e
Merge branch 'main' into update_googletest
asedeno aa2b11d
more resources for tests that fail to build
asedeno d021654
define engflow_rbe in mobile RBE builds to make rbe_pool work
asedeno 300cae1
more resources for tests that fail to build
asedeno 225a29e
more resources for tests that fail to build
asedeno bfd66b9
mobile rbe_pool support for linux-asan only for now
asedeno 6b081b6
more resources for tests that fail to build
asedeno 3d04c4a
More DeathTest updates
asedeno File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,35 @@ | ||
diff --git a/BUILD.bazel b/BUILD.bazel | ||
index 8099642a85..3598661079 100644 | ||
index e407ae29..b1e3b7fb 100644 | ||
--- a/BUILD.bazel | ||
+++ b/BUILD.bazel | ||
@@ -40,7 +40,7 @@ exports_files(["LICENSE"]) | ||
|
||
config_setting( | ||
name = "windows", | ||
- constraint_values = ["@bazel_tools//platforms:windows"], | ||
+ constraint_values = ["@platforms//os:windows"], | ||
@@ -56,12 +56,6 @@ config_setting( | ||
constraint_values = ["@platforms//os:openbsd"], | ||
) | ||
|
||
|
||
-# NOTE: Fuchsia is not an officially supported platform. | ||
-config_setting( | ||
- name = "fuchsia", | ||
- constraint_values = ["@platforms//os:fuchsia"], | ||
-) | ||
- | ||
config_setting( | ||
name = "msvc_compiler", | ||
flag_values = { | ||
@@ -153,17 +147,6 @@ cc_library( | ||
"@com_googlesource_code_re2//:re2", | ||
], | ||
"//conditions:default": [], | ||
- }) + select({ | ||
- # `gtest-death-test.cc` has `EXPECT_DEATH` that spawns a process, | ||
- # expects it to crash and inspects its logs with the given matcher, | ||
- # so that's why these libraries are needed. | ||
- # Otherwise, builds targeting Fuchsia would fail to compile. | ||
- ":fuchsia": [ | ||
- "@fuchsia_sdk//pkg/fdio", | ||
- "@fuchsia_sdk//pkg/syslog", | ||
- "@fuchsia_sdk//pkg/zx", | ||
- ], | ||
- "//conditions:default": [], | ||
}), | ||
) | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this wont work out of the box - what it actually needs to be is:
probably it makes sense to set up a macro - so that you can set it as
rbe_pool
- see egenvoy/bazel/envoy_library.bzl
Lines 117 to 120 in 4c09752