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 |