Index: build/android/pylib/host_driven/run_python_tests.py |
diff --git a/build/android/pylib/host_driven/run_python_tests.py b/build/android/pylib/host_driven/run_python_tests.py |
index bde75d242bed3748f80a4658f3b4e321da79f947..6a9bccc6db39520d8a9b515bae4c7fa21c517ac6 100644 |
--- a/build/android/pylib/host_driven/run_python_tests.py |
+++ b/build/android/pylib/host_driven/run_python_tests.py |
@@ -87,7 +87,12 @@ def DispatchPythonTests(options): |
options.test_apk_jar_path) |
test_files_copier = test_runner.TestRunner( |
options, device_id, 0, test_pkg, []) |
- test_files_copier.PushDependencies() |
+ test_files_copier.InstallTestPackage() |
+ if options.push_deps: |
+ logging.info('Pushing data deps to device.') |
+ test_files_copier.PushDataDeps() |
+ else: |
+ logging.warning('Skipping pushing data deps to device.') |
# Actually run the tests. |
if len(attached_devices) > 1 and options.wait_for_debugger: |