| Index: build/android/pylib/base/test_dispatcher.py
|
| diff --git a/build/android/pylib/base/test_dispatcher.py b/build/android/pylib/base/test_dispatcher.py
|
| index 7dfcc4fa833dbf356b72f83b5e6c9b07c0286973..a8363c26f7569ba3d31f0a57b25b16f4f9c25727 100644
|
| --- a/build/android/pylib/base/test_dispatcher.py
|
| +++ b/build/android/pylib/base/test_dispatcher.py
|
| @@ -363,7 +363,7 @@ def RunTests(tests, runner_factory, wait_for_debugger, test_device,
|
| """
|
| if not tests:
|
| logging.error('No tests to run.')
|
| - return (base_test_result.TestRunResults(), 0)
|
| + return (base_test_result.TestRunResults(), constants.ERROR_EXIT_CODE)
|
|
|
| if shard:
|
| # Generate a shared _TestCollection object for all test runners, so they
|
|
|