diff options
author | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 03:06:50 +0000 |
---|---|---|
committer | kbr@chromium.org <kbr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-08 03:06:50 +0000 |
commit | d9cd22fadc24fb85d7066e494530bf6783622755 (patch) | |
tree | 773c69c5df1019e6315ec536ac405b4449123464 /base/test | |
parent | ac9314f25b3fd13ae0fd688a2d1ecc7d271b8bf0 (diff) | |
download | chromium_src-d9cd22fadc24fb85d7066e494530bf6783622755.zip chromium_src-d9cd22fadc24fb85d7066e494530bf6783622755.tar.gz chromium_src-d9cd22fadc24fb85d7066e494530bf6783622755.tar.bz2 |
Revert 233725 "GTTF: Make test launcher unset GTEST_ env variabl..."
Broke all of the Windows XP bots
> GTTF: Make test launcher unset GTEST_ env variables since it handles all of sharding.
>
> BUG=236893
> R=sky@chromium.org
>
> Review URL: https://codereview.chromium.org/60983004
TBR=phajdan.jr@chromium.org
Review URL: https://codereview.chromium.org/66043005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233762 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/test')
-rw-r--r-- | base/test/launcher/test_launcher.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/base/test/launcher/test_launcher.cc b/base/test/launcher/test_launcher.cc index a9bebf2..f7f9679 100644 --- a/base/test/launcher/test_launcher.cc +++ b/base/test/launcher/test_launcher.cc @@ -616,12 +616,6 @@ bool TestLauncher::Init() { return false; } - // Make sure we don't pass any sharding-related environment to the child - // processes. This test launcher implements the sharding completely. - scoped_ptr<Environment> env(Environment::Create()); - CHECK(env->UnSetVar("GTEST_TOTAL_SHARDS")); - CHECK(env->UnSetVar("GTEST_SHARD_INDEX")); - if (command_line->HasSwitch(kGTestRepeatFlag) && !StringToInt(command_line->GetSwitchValueASCII(kGTestRepeatFlag), &cycles_)) { |