| Index: build/android/pylib/browsertests/dispatch.py
|
| diff --git a/build/android/pylib/browsertests/dispatch.py b/build/android/pylib/browsertests/dispatch.py
|
| index 8457cf2f618986b8f1bad9770d3273bf9eabf35a..5daba5cc379853289bcf1f7d1ae6756923e9adc6 100644
|
| --- a/build/android/pylib/browsertests/dispatch.py
|
| +++ b/build/android/pylib/browsertests/dispatch.py
|
| @@ -23,7 +23,15 @@ from common import unittest_util
|
|
|
|
|
| def Dispatch(options):
|
| - """Dispatches all content_browsertests."""
|
| + """Dispatches all content_browsertests.
|
| +
|
| + Args:
|
| + options: optparse.Options object containing command-line options
|
| + Returns:
|
| + base_test_result.TestRunResults object with the results of running the tests
|
| + Raises:
|
| + Exception: Failed to reset the test server port.
|
| + """
|
|
|
| attached_devices = []
|
| if options.test_device:
|
| @@ -88,7 +96,7 @@ def Dispatch(options):
|
| flakiness_server=options.flakiness_dashboard_server)
|
| report_results.PrintAnnotation(test_results)
|
|
|
| - return len(test_results.GetNotPass())
|
| + return test_results
|
|
|
|
|
| def _FilterTests(all_enabled_tests):
|
|
|