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', 'cmd_helper_test.py'), |
55 J('devil', 'utils', 'timeout_retry_unittest.py'), | 56 J('devil', 'utils', 'timeout_retry_unittest.py'), |
56 J('gyp', 'util', 'md5_check_test.py'), | 57 J('gyp', 'util', 'md5_check_test.py'), |
57 J('pylib', 'base', 'test_dispatcher_unittest.py'), | 58 J('pylib', 'base', 'test_dispatcher_unittest.py'), |
58 J('pylib', 'gtest', 'gtest_test_instance_test.py'), | 59 J('pylib', 'gtest', 'gtest_test_instance_test.py'), |
59 J('pylib', 'instrumentation', | 60 J('pylib', 'instrumentation', |
60 'instrumentation_test_instance_test.py'), | 61 'instrumentation_test_instance_test.py'), |
61 J('pylib', 'results', 'json_results_test.py'), | 62 J('pylib', 'results', 'json_results_test.py'), |
62 ], | 63 ], |
63 env=pylib_test_env)) | 64 env=pylib_test_env)) |
64 return output | 65 return output |
65 | 66 |
66 | 67 |
67 def CheckChangeOnUpload(input_api, output_api): | 68 def CheckChangeOnUpload(input_api, output_api): |
68 return CommonChecks(input_api, output_api) | 69 return CommonChecks(input_api, output_api) |
69 | 70 |
70 | 71 |
71 def CheckChangeOnCommit(input_api, output_api): | 72 def CheckChangeOnCommit(input_api, output_api): |
72 return CommonChecks(input_api, output_api) | 73 return CommonChecks(input_api, output_api) |
OLD | NEW |