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

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

Issue 2660003002: [Android] Only attempt to rerun tests if some tests run. (Closed)
Patch Set: Created 3 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 e99c4a55c6925d42a01feb9e91774cbf2af40e9d..20b7815da0c37d86e5251b7324d583a8e3e5bda6 100644
--- a/build/android/pylib/local/device/local_device_gtest_run.py
+++ b/build/android/pylib/local/device/local_device_gtest_run.py
@@ -440,7 +440,7 @@ class LocalDeviceGtestRun(local_device_test_run.LocalDeviceTestRun):
result.SetTombstonesUrl(tombstones_url)
not_run_tests = set(test).difference(set(r.GetName() for r in results))
- return results, list(not_run_tests)
+ return results, list(not_run_tests) if results else None
#override
def TearDown(self):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698