| Index: base/test/launcher/test_launcher.cc
|
| diff --git a/base/test/launcher/test_launcher.cc b/base/test/launcher/test_launcher.cc
|
| index 8011d71b0fd9549fefaea066d2da41b752d9c568..b997d970ba7c9955516b5f045a7b369ed7c362a3 100644
|
| --- a/base/test/launcher/test_launcher.cc
|
| +++ b/base/test/launcher/test_launcher.cc
|
| @@ -552,13 +552,6 @@ void TestLauncher::OnTestFinished(const TestResult& result) {
|
| bool TestLauncher::Init() {
|
| const CommandLine* command_line = CommandLine::ForCurrentProcess();
|
|
|
| - if (command_line->HasSwitch(kGTestListTestsFlag)) {
|
| - // Child gtest processes would list tests instead of running tests.
|
| - // TODO(phajdan.jr): Restore support for the flag.
|
| - LOG(ERROR) << kGTestListTestsFlag << " is not supported.";
|
| - return false;
|
| - }
|
| -
|
| // Initialize sharding. Command line takes precedence over legacy environment
|
| // variables.
|
| if (command_line->HasSwitch(switches::kTestLauncherTotalShards) &&
|
|
|