0
0
mirror of https://github.com/google/googletest.git synced 2025-03-20 10:53:47 +00:00

Merge pull request #3694 from joshiayush:main

PiperOrigin-RevId: 415014511
Change-Id: If2e20eb9408a23b5574a2c87f651c2905f14fcac
This commit is contained in:
Copybara-Service 2021-12-08 08:53:55 -08:00
commit 054a986a85

View File

@ -5835,9 +5835,7 @@ bool UnitTestImpl::RunAllTests() {
return true; return true;
} }
random_seed_ = GTEST_FLAG_GET(shuffle) random_seed_ = GetRandomSeedFromFlag(GTEST_FLAG_GET(random_seed));
? GetRandomSeedFromFlag(GTEST_FLAG_GET(random_seed))
: 0;
// True if and only if at least one test has failed. // True if and only if at least one test has failed.
bool failed = false; bool failed = false;