Index: build/android/pylib/test_package.py |
diff --git a/build/android/pylib/test_package.py b/build/android/pylib/test_package.py |
index f2bea72ddd7a89c3e46ab62e090482880cea5fd6..75fc305ee1d9cd69a5daa557548be747b9b5ba9f 100644 |
--- a/build/android/pylib/test_package.py |
+++ b/build/android/pylib/test_package.py |
@@ -91,6 +91,22 @@ class TestPackage(object): |
return ['DISABLED_', 'FLAKY_', 'FAILS_'] |
def _ParseGTestListTests(self, all_tests): |
+ """Parses and filters the raw test lists. |
+ |
+ Args: |
+ all_tests: The raw test listing with the following format: |
+ |
+ IPCChannelTest. |
+ SendMessageInChannelConnected |
+ IPCSyncChannelTest. |
+ Simple |
+ DISABLED_SendWithTimeoutMixedOKAndTimeout |
+ |
+ Returns: |
+ A list of non-disabled tests. For the above raw listing: |
+ |
+ [IPCChannelTest.SendMessageInChannelConnected, IPCSyncChannelTest.Simple] |
+ """ |
ret = [] |
current = '' |
disabled_prefixes = self.GetDisabledPrefixes() |