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

Unified Diff: build/android/pylib/remote/device/remote_device_instrumentation_test_run.py

Issue 1015513005: Raise a RemoteDeviceException when appurify reports an exception. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved exception handling to remote_device_test_run.py. Created 5 years, 9 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/remote/device/remote_device_instrumentation_test_run.py
diff --git a/build/android/pylib/remote/device/remote_device_instrumentation_test_run.py b/build/android/pylib/remote/device/remote_device_instrumentation_test_run.py
index 709a30c7c02aedeba0935ac5bc5065a0d8c4c63d..fe173a40b6d310bf3d22a530e87076f5a926f0a1 100644
--- a/build/android/pylib/remote/device/remote_device_instrumentation_test_run.py
+++ b/build/android/pylib/remote/device/remote_device_instrumentation_test_run.py
@@ -33,13 +33,6 @@ class RemoteDeviceInstrumentationTestRun(
def _ParseTestResults(self):
logging.info('Parsing results from stdout.')
r = base_test_result.TestRunResults()
-
- if self._results['results']['exception']:
- r.AddResult(base_test_result.BaseTestResult(
- self._results['results']['exception'],
- base_test_result.ResultType.FAIL))
- return r
-
result_code, result_bundle, statuses = (
self._test_instance.ParseAmInstrumentRawOutput(
self._results['results']['output'].splitlines()))

Powered by Google App Engine
This is Rietveld 408576698