Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
dd72ed19
Unverified
Commit
dd72ed19
authored
Jun 27, 2022
by
assafpr
Committed by
GitHub
Jun 27, 2022
Browse files
Update gtest.cc
fix a broken link
parent
d0af91ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/src/gtest.cc
googletest/src/gtest.cc
+1
-1
No files found.
googletest/src/gtest.cc
View file @
dd72ed19
...
@@ -6037,7 +6037,7 @@ bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) {
...
@@ -6037,7 +6037,7 @@ bool ShouldRunTestOnShard(int total_shards, int shard_index, int test_id) {
// each TestSuite and TestInfo object.
// each TestSuite and TestInfo object.
// If shard_tests == true, further filters tests based on sharding
// If shard_tests == true, further filters tests based on sharding
// variables in the environment - see
// variables in the environment - see
// https://github.com/google/googletest/blob/ma
ster/googletest
/docs/advanced.md
// https://github.com/google/googletest/blob/ma
in
/docs/advanced.md
// . Returns the number of tests that should run.
// . Returns the number of tests that should run.
int
UnitTestImpl
::
FilterTests
(
ReactionToSharding
shard_tests
)
{
int
UnitTestImpl
::
FilterTests
(
ReactionToSharding
shard_tests
)
{
const
int32_t
total_shards
=
shard_tests
==
HONOR_SHARDING_PROTOCOL
const
int32_t
total_shards
=
shard_tests
==
HONOR_SHARDING_PROTOCOL
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment