| Index: base/test/test_support_ios.mm
|
| diff --git a/base/test/test_support_ios.mm b/base/test/test_support_ios.mm
|
| index b9bee484cb15c323eb413890f2f59d498caae45c..2509fa0e7307b078d7df913351fea1ce1995faf2 100644
|
| --- a/base/test/test_support_ios.mm
|
| +++ b/base/test/test_support_ios.mm
|
| @@ -1,8 +1,6 @@
|
| // Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| -
|
| -#include "base/test/test_support_ios.h"
|
|
|
| #import <UIKit/UIKit.h>
|
|
|
| @@ -156,12 +154,6 @@
|
|
|
| - (void)runTests {
|
| int exitStatus = g_test_suite->Run();
|
| -
|
| - if (base::IsRunningWithXCTest()) {
|
| - // Do not kill the app when running in XCTest mode. XCTest will shut down
|
| - // the app itself.
|
| - return;
|
| - }
|
|
|
| if ([self shouldRedirectOutputToFile])
|
| [self writeOutputToNSLog];
|
| @@ -225,10 +217,4 @@
|
| }
|
| }
|
|
|
| -bool IsRunningWithXCTest() {
|
| - // Under Xcode 7.3 and 8.0, the "XCTestConfigurationFilePath" environment
|
| - // variable is set when running XCTests.
|
| - return getenv("XCTestConfigurationFilePath") != nullptr;
|
| -}
|
| -
|
| } // namespace base
|
|
|