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)) |