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

Unified Diff: build/android/pylib/instrumentation/instrumentation_test_instance.py

Issue 2889663003: Add --render-results-dir arg to store render results locally. (Closed)
Patch Set: Add --render-results-dir arg to store render results locally. Created 3 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
« no previous file with comments | « no previous file | build/android/pylib/local/device/local_device_instrumentation_test_run.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/instrumentation/instrumentation_test_instance.py
diff --git a/build/android/pylib/instrumentation/instrumentation_test_instance.py b/build/android/pylib/instrumentation/instrumentation_test_instance.py
index adf36d29a41c038b0a781e00495fa0658883b1e6..bbeb315a77e7adac6bbf7735debedfb8130ff8d8 100644
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py
@@ -489,6 +489,8 @@ class InstrumentationTestInstance(test_instance.TestInstance):
self._driver_name = None
self._initializeDriverAttributes()
+ self._render_results_dir = None
+ self._screenshot_dir = None
self._timeout_scale = None
self._initializeTestControlAttributes(args)
@@ -666,6 +668,7 @@ class InstrumentationTestInstance(test_instance.TestInstance):
self._driver_apk = None
def _initializeTestControlAttributes(self, args):
+ self._render_results_dir = args.render_results_dir
self._screenshot_dir = args.screenshot_dir
self._timeout_scale = args.timeout_scale or 1
@@ -754,6 +757,10 @@ class InstrumentationTestInstance(test_instance.TestInstance):
return self._package_info
@property
+ def render_results_dir(self):
+ return self._render_results_dir
+
+ @property
def screenshot_dir(self):
return self._screenshot_dir
« no previous file with comments | « no previous file | build/android/pylib/local/device/local_device_instrumentation_test_run.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698