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 c6a3ca037d344cb581403ed7db1292d71ae5042a..292dd34adb07e3854943fe40fa3034e0dc34b5d8 100644 |
--- a/build/android/pylib/host_driven/run_python_tests.py |
+++ b/build/android/pylib/host_driven/run_python_tests.py |
@@ -118,9 +118,9 @@ def _GetTestModules(python_test_root, is_official_build): |
# By default run all python tests under pythonDrivenTests. |
python_test_file_list = [] |
for root, _, files in os.walk(python_test_root): |
- if (root.endswith('pythonDrivenTests') |
- or (is_official_build |
- and root.endswith('pythonDrivenTests/official'))): |
+ if (root.endswith('host_driven_tests') or |
+ root.endswith('pythonDrivenTests') or |
+ (is_official_build and root.endswith('pythonDrivenTests/official'))): |
python_test_file_list += _GetPythonFiles(root, files) |
python_test_file_list.sort() |