Index: build/android/run_tests.py |
diff --git a/build/android/run_tests.py b/build/android/run_tests.py |
index dc1ec7e96d9156274ea0cc7e13b262ec393a37c5..cbe408da518c1ccd6e0c886c9ce92e6d728c6ff5 100755 |
--- a/build/android/run_tests.py |
+++ b/build/android/run_tests.py |
@@ -167,7 +167,8 @@ def RunTests(device, test_suite, gtest_filter, test_arguments, rebaseline, |
if test_suite: |
global _TEST_SUITES |
- if not os.path.exists(test_suite): |
+ if (not os.path.exists(test_suite) and |
+ not os.path.splitext(test_suite)[1] == '.apk'): |
logging.critical('Unrecognized test suite %s, supported: %s' % |
(test_suite, _TEST_SUITES)) |
if test_suite in _TEST_SUITES: |