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

Unified Diff: build/android/pylib/local/device/local_device_gtest_run.py

Issue 2541093004: [Android] Try harder to run every gtest within each try. (Closed)
Patch Set: mikecase comment Created 4 years 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/local/device/local_device_gtest_run.py
diff --git a/build/android/pylib/local/device/local_device_gtest_run.py b/build/android/pylib/local/device/local_device_gtest_run.py
index 97cec49aa42314784c74bf37eb21b71341144b71..dc54d900001cf3df1f68f4667c90b4a0451ebf3b 100644
--- a/build/android/pylib/local/device/local_device_gtest_run.py
+++ b/build/android/pylib/local/device/local_device_gtest_run.py
@@ -424,7 +424,9 @@ class LocalDeviceGtestRun(local_device_test_run.LocalDeviceTestRun):
include_stack_symbols=False,
wipe_tombstones=True))
result.SetTombstones(resolved_tombstones)
- return results
+
+ not_run_tests = set(test).difference(set(r.GetName() for r in results))
+ return results, not_run_tests
#override
def TearDown(self):

Powered by Google App Engine
This is Rietveld 408576698