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;
}
random_seed_ = GTEST_FLAG_GET(shuffle)
? GetRandomSeedFromFlag(GTEST_FLAG_GET(random_seed))
: 0;
random_seed_ = GetRandomSeedFromFlag(GTEST_FLAG_GET(random_seed));
// True if and only if at least one test has failed.
bool failed = false;