deps: update googletest to d72f9c8aea6817cdf1ca0ac10887f328de7f3da2 · nodejs/node@fa46c90 · GitHub
Skip to content

Commit fa46c90

Browse files
nodejs-github-botaduh95
authored andcommitted
deps: update googletest to d72f9c8aea6817cdf1ca0ac10887f328de7f3da2
PR-URL: #62593 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 099ded5 commit fa46c90

3 files changed

Lines changed: 50 additions & 38 deletions

File tree

deps/googletest/include/gtest/gtest.h

Lines changed: 4 additions & 0 deletions

deps/googletest/src/gtest-internal-inl.h

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -246,15 +246,12 @@ GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
246246
// be created, prints an error and exits.
247247
void WriteToShardStatusFileIfNeeded();
248248

249-
// Checks whether sharding is enabled by examining the relevant
250-
// environment variable values. If the variables are present,
251-
// but inconsistent (e.g., shard_index >= total_shards), prints
252-
// an error and exits. If in_subprocess_for_death_test, sharding is
249+
// Checks whether sharding is enabled by examining the relevant flag values.
250+
// If the flags are set, but inconsistent (e.g., shard_index >= total_shards),
251+
// prints an error and exits. If in_subprocess_for_death_test, sharding is
253252
// disabled because it must only be applied to the original test
254253
// process. Otherwise, we could filter out death tests we intended to execute.
255-
GTEST_API_ bool ShouldShard(const char* total_shards_str,
256-
const char* shard_index_str,
257-
bool in_subprocess_for_death_test);
254+
GTEST_API_ bool ShouldShard(bool in_subprocess_for_death_test);
258255

259256
// Parses the environment variable var as a 32-bit integer. If it is unset,
260257
// returns default_val. If it is not a 32-bit integer, prints an error and

deps/googletest/src/gtest.cc

Lines changed: 42 additions & 31 deletions

0 commit comments

Comments
 (0)