Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2607)

Unified Diff: build/android/pylib/host_driven/test_case.py

Issue 22933005: [android] Make build_type a singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix call to _LogToFile Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/android/pylib/host_driven/test_case.py
diff --git a/build/android/pylib/host_driven/test_case.py b/build/android/pylib/host_driven/test_case.py
index 2bf5f0a31c3a66c1b71e9bbc57075b6cbbb9cd7b..4f70508c3d103b4c1852b6eb2429589a451b5564 100644
--- a/build/android/pylib/host_driven/test_case.py
+++ b/build/android/pylib/host_driven/test_case.py
@@ -24,6 +24,7 @@ import os
import time
from pylib import android_commands
+from pylib import constants
from pylib.base import base_test_result
from pylib.instrumentation import test_package
from pylib.instrumentation import test_result
@@ -55,11 +56,10 @@ class HostDrivenTestCase(object):
self.instrumentation_options = instrumentation_options
self.ports_to_forward = []
- def SetUp(self, device, shard_index, build_type, push_deps,
+ def SetUp(self, device, shard_index, push_deps,
cleanup_test_files):
self.device_id = device
self.shard_index = shard_index
- self.build_type = build_type
self.adb = android_commands.AndroidCommands(self.device_id)
self.push_deps = push_deps
self.cleanup_test_files = cleanup_test_files
@@ -69,7 +69,7 @@ class HostDrivenTestCase(object):
def GetOutDir(self):
return os.path.join(os.environ['CHROME_SRC'], 'out',
- self.build_type)
+ constants.GetBuildType())
def Run(self):
logging.info('Running host-driven test: %s', self.tagged_name)

Powered by Google App Engine
This is Rietveld 408576698