Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: scripts/slave/recipes/catapult.py

Issue 1423843004: Reland of Update catapult recipe to run py-vulcanize (tvcm) tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | scripts/slave/recipes/catapult.expected/basic.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 'bot_update', 6 'bot_update',
7 'gclient', 7 'gclient',
8 'gitiles', 8 'gitiles',
9 'path', 9 'path',
10 'platform', 10 'platform',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 # and the unit test runner script assumes that the SDK is in PYTHONPATH. 45 # and the unit test runner script assumes that the SDK is in PYTHONPATH.
46 sdk_path = _FetchAppEngineSDKSteps(api) 46 sdk_path = _FetchAppEngineSDKSteps(api)
47 modified_env = { 47 modified_env = {
48 'PYTHONPATH': api.path.pathsep.join(['%(PYTHONPATH)s', str(sdk_path)]) 48 'PYTHONPATH': api.path.pathsep.join(['%(PYTHONPATH)s', str(sdk_path)])
49 } 49 }
50 50
51 api.python('Build Python Tests', 51 api.python('Build Python Tests',
52 api.path['checkout'].join('catapult_build', 'bin', 'run_py_tests')) 52 api.path['checkout'].join('catapult_build', 'bin', 'run_py_tests'))
53 api.python('Util Tests', 53 api.python('Util Tests',
54 api.path['checkout'].join('base', 'util', 'run_tests.py')) 54 api.path['checkout'].join('base', 'util', 'run_tests.py'))
55 api.python('Dashboard Tests', 55 api.python('Dashboard Python Tests',
56 api.path['checkout'].join('dashboard', 'bin', 'run_py_tests'), 56 api.path['checkout'].join('dashboard', 'bin', 'run_py_tests'),
57 ['--no-install-hooks'],
57 env=modified_env) 58 env=modified_env)
58 api.python('Tracing Python Tests', 59 api.python('Tracing Python Tests',
59 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), 60 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'),
60 ['--no-install-hooks']) 61 ['--no-install-hooks'])
61 api.python('Tracing Dev Server Tests', 62 api.python('Tracing Dev Server Tests',
62 api.path['checkout'].join( 63 api.path['checkout'].join(
63 'tracing', 'bin', 'run_dev_server_tests'), 64 'tracing', 'bin', 'run_dev_server_tests'),
64 ['--no-install-hooks', '--no-use-local-chrome']) 65 ['--no-install-hooks', '--no-use-local-chrome'])
66 api.python('Py-vulcanize Tests',
67 api.path['checkout'].join(
68 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'),
69 ['--no-install-hooks'])
65 api.python('Perf Insights Dev Server Tests', 70 api.python('Perf Insights Dev Server Tests',
66 api.path['checkout'].join( 71 api.path['checkout'].join(
67 'perf_insights', 'bin', 'run_dev_server_tests'), 72 'perf_insights', 'bin', 'run_dev_server_tests'),
68 ['--no-install-hooks', '--no-use-local-chrome']) 73 ['--no-install-hooks', '--no-use-local-chrome'])
69 api.python('Systrace Tests', 74 api.python('Systrace Tests',
70 api.path['checkout'].join('systrace', 'bin', 'run_tests')) 75 api.path['checkout'].join('systrace', 'bin', 'run_tests'))
71 if not api.platform.is_win: 76 if not api.platform.is_win:
72 # D8/vinn currently unavailable on Windows. 77 # D8/vinn currently unavailable on Windows.
73 # TODO(sullivan): Add these tests on Windows when available. 78 # TODO(sullivan): Add these tests on Windows when available.
74 api.python('Vinn Tests', 79 api.python('Vinn Tests',
(...skipping 13 matching lines...) Expand all
88 def GenTests(api): 93 def GenTests(api):
89 yield ( 94 yield (
90 api.test('basic') + 95 api.test('basic') +
91 api.properties(mastername='master.client.catapult', 96 api.properties(mastername='master.client.catapult',
92 buildername='windows', 97 buildername='windows',
93 slavename='windows_slave') + 98 slavename='windows_slave') +
94 api.step_data('Fetch SDK downloader', 99 api.step_data('Fetch SDK downloader',
95 api.gitiles.make_encoded_file( 100 api.gitiles.make_encoded_file(
96 '"<simulated contents of get_appengine.py>"')) 101 '"<simulated contents of get_appengine.py>"'))
97 ) 102 )
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/catapult.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698