| Index: build/android/pylib/gtest/setup.py
|
| diff --git a/build/android/pylib/gtest/setup.py b/build/android/pylib/gtest/setup.py
|
| index d73d862b33db9aed3f9c6fb7ea02becdadc25eb4..3206bda67cb6dad8a2bc82f786944eceed00c75a 100644
|
| --- a/build/android/pylib/gtest/setup.py
|
| +++ b/build/android/pylib/gtest/setup.py
|
| @@ -143,11 +143,16 @@ def _GetTests(test_options, test_package, devices):
|
| Returns:
|
| A list of all the tests in the test suite.
|
| """
|
| + class TestListResult(base_test_result.BaseTestResult):
|
| + def __init__(self):
|
| + super(TestListResult, self).__init__(
|
| + 'gtest_list_tests', base_test_result.ResultType.PASS)
|
| + self.test_list = []
|
| +
|
| def TestListerRunnerFactory(device, _shard_index):
|
| class TestListerRunner(test_runner.TestRunner):
|
| def RunTest(self, _test):
|
| - result = base_test_result.BaseTestResult(
|
| - 'gtest_list_tests', base_test_result.ResultType.PASS)
|
| + result = TestListResult()
|
| self.test_package.Install(self.device)
|
| result.test_list = self.test_package.GetAllTests(self.device)
|
| results = base_test_result.TestRunResults()
|
|
|