OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Presubmit script for android buildbot. | 5 """Presubmit script for android buildbot. |
6 | 6 |
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for |
8 details on the presubmit API built into depot_tools. | 8 details on the presubmit API built into depot_tools. |
9 """ | 9 """ |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 }) | 45 }) |
46 output.extend(input_api.canned_checks.RunUnitTests( | 46 output.extend(input_api.canned_checks.RunUnitTests( |
47 input_api, | 47 input_api, |
48 output_api, | 48 output_api, |
49 unit_tests=[ | 49 unit_tests=[ |
50 J('.', 'emma_coverage_stats_test.py'), | 50 J('.', 'emma_coverage_stats_test.py'), |
51 J('devil', 'android', 'battery_utils_test.py'), | 51 J('devil', 'android', 'battery_utils_test.py'), |
52 J('devil', 'android', 'device_utils_test.py'), | 52 J('devil', 'android', 'device_utils_test.py'), |
53 J('devil', 'android', 'md5sum_test.py'), | 53 J('devil', 'android', 'md5sum_test.py'), |
54 J('devil', 'android', 'logcat_monitor_test.py'), | 54 J('devil', 'android', 'logcat_monitor_test.py'), |
| 55 J('devil', 'utils', 'timeout_retry_unittest.py'), |
55 J('gyp', 'util', 'md5_check_test.py'), | 56 J('gyp', 'util', 'md5_check_test.py'), |
56 J('pylib', 'base', 'test_dispatcher_unittest.py'), | 57 J('pylib', 'base', 'test_dispatcher_unittest.py'), |
57 J('pylib', 'gtest', 'gtest_test_instance_test.py'), | 58 J('pylib', 'gtest', 'gtest_test_instance_test.py'), |
58 J('pylib', 'instrumentation', | 59 J('pylib', 'instrumentation', |
59 'instrumentation_test_instance_test.py'), | 60 'instrumentation_test_instance_test.py'), |
60 J('pylib', 'results', 'json_results_test.py'), | 61 J('pylib', 'results', 'json_results_test.py'), |
61 ], | 62 ], |
62 env=pylib_test_env)) | 63 env=pylib_test_env)) |
63 return output | 64 return output |
64 | 65 |
65 | 66 |
66 def CheckChangeOnUpload(input_api, output_api): | 67 def CheckChangeOnUpload(input_api, output_api): |
67 return CommonChecks(input_api, output_api) | 68 return CommonChecks(input_api, output_api) |
68 | 69 |
69 | 70 |
70 def CheckChangeOnCommit(input_api, output_api): | 71 def CheckChangeOnCommit(input_api, output_api): |
71 return CommonChecks(input_api, output_api) | 72 return CommonChecks(input_api, output_api) |
OLD | NEW |