| Index: build/android/pylib/uiautomator/test_runner.py
|
| diff --git a/build/android/pylib/uiautomator/test_runner.py b/build/android/pylib/uiautomator/test_runner.py
|
| index 02f5d6a46fe6d8ffa5bfd8bf9bf3d7f5520e6114..d7a4bdf2819c31a4a3b1899ff3bda3b77827f3a4 100644
|
| --- a/build/android/pylib/uiautomator/test_runner.py
|
| +++ b/build/android/pylib/uiautomator/test_runner.py
|
| @@ -79,8 +79,11 @@ class TestRunner(instr_test_runner.TestRunner):
|
| return self.device.RunShellCommand(cmd, timeout=timeout, retries=0)
|
|
|
| #override
|
| - def _GenerateTestResult(self, test, instr_statuses, start_ms, duration_ms):
|
| + def _GenerateTestResult(self, test, _result_code, _result_bundle, statuses,
|
| + start_ms, duration_ms):
|
| # uiautomator emits its summary status with INSTRUMENTATION_STATUS_CODE,
|
| # not INSTRUMENTATION_CODE, so we have to drop if off the list of statuses.
|
| + summary_code, summary_bundle = statuses[-1]
|
| return super(TestRunner, self)._GenerateTestResult(
|
| - test, instr_statuses[:-1], start_ms, duration_ms)
|
| + test, summary_code, summary_bundle, statuses[:-1], start_ms,
|
| + duration_ms)
|
|
|