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

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

Issue 2237553003: (Reland) Added tombstones in instrumentation tests results. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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/instrumentation/test_result.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 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
« no previous file with comments | « no previous file | build/android/pylib/instrumentation/test_result.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698