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