Index: build/android/pylib/run_java_tests.py |
diff --git a/build/android/pylib/run_java_tests.py b/build/android/pylib/run_java_tests.py |
index 725585af001a119806bdef40d49b361772eb811c..448fd423f2777443a883266d9afd239307a782e8 100644 |
--- a/build/android/pylib/run_java_tests.py |
+++ b/build/android/pylib/run_java_tests.py |
@@ -65,7 +65,7 @@ def FilterTests(test_names, pattern_list, inclusive): |
class TestRunner(BaseTestRunner): |
"""Responsible for running a series of tests connected to a single device.""" |
- _DEVICE_DATA_DIR = constants.TEST_DATA_DIR + '/chrome/test/data' |
+ _DEVICE_DATA_DIR = 'chrome/test/data' |
_EMMA_JAR = os.path.join(os.environ.get('ANDROID_BUILD_TOP', ''), |
'external/emma/lib/emma.jar') |
_COVERAGE_MERGED_FILENAME = 'unittest_coverage.es' |
@@ -166,6 +166,7 @@ class TestRunner(BaseTestRunner): |
'/chrome/test/data/android/device_files') |
if os.path.exists(host_test_files_path): |
self.adb.PushIfNeeded(host_test_files_path, |
+ self.adb.GetExternalStorage() + '/' + |
TestRunner._DEVICE_DATA_DIR) |
if self.install_apk: |
for apk in self.apks: |