Chromium Code Reviews| Index: build/android/PRESUBMIT.py |
| diff --git a/build/android/PRESUBMIT.py b/build/android/PRESUBMIT.py |
| index 4e25896f27ab95a424636bfc0e15289ab09820bf..4e77b5b037335daf5505bb5cdc144e74773655c9 100644 |
| --- a/build/android/PRESUBMIT.py |
| +++ b/build/android/PRESUBMIT.py |
| @@ -50,6 +50,18 @@ def CommonChecks(input_api, output_api): |
| output.extend(input_api.canned_checks.RunUnitTestsInDirectory( |
| input_api, output_api, J('buildbot', 'tests'))) |
| + |
| + pylib_test_env = dict(input_api.environ) |
| + pylib_test_env.update({ |
| + 'PYTHONPATH': input_api.PresubmitLocalPath(), |
| + 'PYTHONDONTWRITEBYTECODE': '1', |
| + }) |
| + output.extend(input_api.canned_checks.RunUnitTests( |
|
frankf
2014/07/10 17:45:09
Why not run all pylib unit tests on the bots? Thes
jbudorick
2014/07/10 18:08:49
I think that should be our goal. Even with that, t
|
| + input_api, |
| + output_api, |
| + unit_tests=[ |
| + J('pylib', 'device', 'device_utils_test.py'),], |
| + env=pylib_test_env)) |
| output.extend(_CheckDeletionsOnlyFiles(input_api, output_api)) |
| return output |