OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 DEPS = [ | 5 DEPS = [ |
6 'depot_tools/bot_update', | 6 'depot_tools/bot_update', |
7 'depot_tools/gclient', | 7 'depot_tools/gclient', |
8 'depot_tools/git', | 8 'depot_tools/git', |
9 'recipe_engine/path', | 9 'recipe_engine/path', |
10 'recipe_engine/platform', | 10 'recipe_engine/platform', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 stdout=api.raw_io.output()) | 42 stdout=api.raw_io.output()) |
43 files = result.stdout.splitlines() | 43 files = result.stdout.splitlines() |
44 result.presentation.logs['change list'] = files | 44 result.presentation.logs['change list'] = files |
45 | 45 |
46 with api.step.defer_results(): | 46 with api.step.defer_results(): |
47 # Rietveld tests. | 47 # Rietveld tests. |
48 deps_mod = 'DEPS' in files | 48 deps_mod = 'DEPS' in files |
49 | 49 |
50 api.python('python tests', 'test.py', ['test'], cwd=api.path['checkout']) | 50 api.python('python tests', 'test.py', ['test'], cwd=api.path['checkout']) |
51 | 51 |
52 api.python( | 52 # TODO(phajdan.jr): should we make recipe tests run on other platforms? |
53 'recipe tests', api.path['checkout'].join('recipes', 'recipes.py'), | 53 if api.platform.is_linux and api.platform.bits == 64: |
54 ['simulation_test', 'test']) | 54 api.python( |
| 55 'recipe tests', api.path['checkout'].join('recipes', 'recipes.py'), |
| 56 ['simulation_test', 'test']) |
| 57 |
55 api.python( | 58 api.python( |
56 'recipe lint', api.path['checkout'].join('recipes', 'recipes.py'), | 59 'recipe lint', api.path['checkout'].join('recipes', 'recipes.py'), |
57 ['lint']) | 60 ['lint']) |
58 | 61 |
59 # if any(f.startswith('infra/glyco/') for f in files): | 62 # if any(f.startswith('infra/glyco/') for f in files): |
60 # api.python( | 63 # api.python( |
61 # 'glyco tests', | 64 # 'glyco tests', |
62 # api.path['checkout'].join('glyco', 'tests', 'run_all_tests.py'), | 65 # api.path['checkout'].join('glyco', 'tests', 'run_all_tests.py'), |
63 # [], cwd=api.path['checkout']) | 66 # [], cwd=api.path['checkout']) |
64 | 67 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 ) | 178 ) |
176 | 179 |
177 yield ( | 180 yield ( |
178 api.test('only_DEPS') + | 181 api.test('only_DEPS') + |
179 api.properties.tryserver( | 182 api.properties.tryserver( |
180 mastername='tryserver.chromium.linux', | 183 mastername='tryserver.chromium.linux', |
181 buildername='infra_tester', | 184 buildername='infra_tester', |
182 patch_project='infra') + | 185 patch_project='infra') + |
183 diff('DEPS') | 186 diff('DEPS') |
184 ) | 187 ) |
OLD | NEW |