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

Unified Diff: build/android/pylib/local/device/local_device_gtest_run.py

Issue 1416763003: [Android] Fix --test-arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/local/device/local_device_gtest_run.py
diff --git a/build/android/pylib/local/device/local_device_gtest_run.py b/build/android/pylib/local/device/local_device_gtest_run.py
index caef0548d2daf93f7dc392449f7d935df0851632..c928ecb30f1a50c672b733d9a9c93bdb0ed9abef 100644
--- a/build/android/pylib/local/device/local_device_gtest_run.py
+++ b/build/android/pylib/local/device/local_device_gtest_run.py
@@ -300,7 +300,8 @@ class LocalDeviceGtestRun(local_device_test_run.LocalDeviceTestRun):
timeout = (self._test_instance.shard_timeout
* self.GetTool(device).GetTimeoutScale())
output = self._delegate.Run(
- test, device, timeout=timeout, retries=0)
+ test, device, flags=self._test_instance.test_arguments,
+ timeout=timeout, retries=0)
for s in self._servers[str(device)]:
s.Reset()
if self._test_instance.app_files:
« no previous file with comments | « build/android/pylib/gtest/gtest_test_instance.py ('k') | build/android/pylib/remote/device/remote_device_gtest_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698