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

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

Issue 1141793003: Update from https://crrev.com/329939 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 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_test_run.py
diff --git a/build/android/pylib/remote/device/remote_device_test_run.py b/build/android/pylib/remote/device/remote_device_test_run.py
index 60a066442cb1837f691d71acf760f0074cbaed6c..60cc73567b8f7379ce1ce4069c0e40f508d08a5d 100644
--- a/build/android/pylib/remote/device/remote_device_test_run.py
+++ b/build/android/pylib/remote/device/remote_device_test_run.py
@@ -29,8 +29,6 @@ class RemoteDeviceTestRun(test_run.TestRun):
COMPLETE = 'complete'
HEARTBEAT_INTERVAL = 300
- _RESULTS_FILE = 'appurify_results/result.txt'
-
def __init__(self, env, test_instance):
"""Constructor.
@@ -186,21 +184,6 @@ class RemoteDeviceTestRun(test_run.TestRun):
appurify_sanitized.utils.wget(self._results['results']['url'],
results_path)
- def _GetRawTestOutput(self):
- """Returns the test output."""
- # TODO(mikecase): Remove getting results from zip when b/18981674 is fixed.
- results_zipfile = self._env.results_path
- if results_zipfile and os.path.exists(results_zipfile):
- with zipfile.ZipFile(results_zipfile) as z:
- with z.open(self._RESULTS_FILE, 'r') as r:
- return r.read()
- else:
- logging.warning(
- 'If the test output is too long, some test results may get cut off.')
- logging.warning(
- 'Use the --results-path option to ensure you get the full results.')
- return self._results['results']['output']
-
def _GetTestStatus(self, test_run_id):
"""Checks the state of the test, and sets self._results
« no previous file with comments | « build/android/pylib/remote/device/remote_device_instrumentation_test_run.py ('k') | build/android/pylib/utils/md5sum.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698