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 e72b8941c794d3fbf9dfa4dff2806352a18dee3e..37421d9b993018d6a931fe097dae2676b8061521 100644 |
--- a/build/android/pylib/instrumentation/instrumentation_test_instance.py |
+++ b/build/android/pylib/instrumentation/instrumentation_test_instance.py |
@@ -393,6 +393,9 @@ class InstrumentationTestInstance(test_instance.TestInstance): |
self._coverage_directory = None |
self._initializeTestCoverageAttributes(args) |
+ self._store_tombstones = False |
+ self._initializeTombstonesAttributes(args) |
+ |
def _initializeApkAttributes(self, args, error_func): |
if args.apk_under_test: |
apk_under_test_path = args.apk_under_test |
@@ -537,6 +540,9 @@ class InstrumentationTestInstance(test_instance.TestInstance): |
def _initializeTestCoverageAttributes(self, args): |
self._coverage_directory = args.coverage_dir |
+ def _initializeTombstonesAttributes(self, args): |
+ self._store_tombstones = args.store_tombstones |
+ |
@property |
def additional_apks(self): |
return self._additional_apks |
@@ -578,6 +584,10 @@ class InstrumentationTestInstance(test_instance.TestInstance): |
return self._screenshot_dir |
@property |
+ def store_tombstones(self): |
+ return self._store_tombstones |
+ |
+ @property |
def suite(self): |
return self._suite |