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

Unified Diff: build/android/pylib/host_driven/run_python_tests.py

Issue 18305008: Android: follow up on crrev.com/210749 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/host_driven/run_python_tests.py
diff --git a/build/android/pylib/host_driven/run_python_tests.py b/build/android/pylib/host_driven/run_python_tests.py
index 30a63121c03dea84c63428bf2c054354e3d7366e..3f31c29dc9115664d8d1da78045cc764894ff41d 100644
--- a/build/android/pylib/host_driven/run_python_tests.py
+++ b/build/android/pylib/host_driven/run_python_tests.py
@@ -54,7 +54,7 @@ def DispatchPythonTests(options):
options: command line options.
Returns:
- A list of test results.
+ A tuple of (base_test_result.TestRunResults object, exit code)
Raises:
Exception: If there are no attached devices.
@@ -77,7 +77,7 @@ def DispatchPythonTests(options):
if not available_tests:
logging.warning('No Python tests to run with current args.')
- return base_test_result.TestRunResults()
+ return (base_test_result.TestRunResults(), 0)
test_names = [t.qualified_name for t in available_tests]
logging.debug('Final list of tests to run: ' + str(test_names))
« 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