[Android] Guard perf_control creation in gtest test_runner.
BUG=None TBR=skyostil@chromium.org Review URL: https://codereview.chromium.org/63403006 git-svn-id: http://src.chromium.org/svn/trunk/src/build@235862 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
4d1f15bfd7
Коммит
1a224057f4
|
@ -52,7 +52,8 @@ class TestRunner(base_test_runner.BaseTestRunner):
|
|||
timeout = timeout * 2
|
||||
|
||||
self._timeout = timeout * self.tool.GetTimeoutScale()
|
||||
self._perf_controller = perf_control.PerfControl(self.adb)
|
||||
if _TestSuiteRequiresHighPerfMode(self.test_package.suite_name):
|
||||
self._perf_controller = perf_control.PerfControl(self.adb)
|
||||
|
||||
#override
|
||||
def InstallTestPackage(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче