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

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

Issue 1428713006: Run dev_server tests on both stable and canary channels (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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 Python 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 ['--no-install-hooks'],
58 env=modified_env) 58 env=modified_env)
59 api.python('Tracing Python Tests', 59 api.python('Tracing Python Tests',
60 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'), 60 api.path['checkout'].join('tracing', 'bin', 'run_py_tests'),
61 ['--no-install-hooks']) 61 ['--no-install-hooks'])
62 api.python('Tracing Dev Server Tests', 62 api.python('Tracing Dev Server Tests: Chrome Stable',
63 api.path['checkout'].join( 63 api.path['checkout'].join(
64 'tracing', 'bin', 'run_dev_server_tests'), 64 'tracing', 'bin', 'run_dev_server_tests'),
65 ['--no-install-hooks', '--no-use-local-chrome']) 65 ['--no-install-hooks',
66 '--no-use-local-chrome',
67 '--channel=stable'])
68 api.python('Tracing Dev Server Tests: Chrome Canary',
69 api.path['checkout'].join(
70 'tracing', 'bin', 'run_dev_server_tests'),
71 ['--no-install-hooks',
72 '--no-use-local-chrome',
73 '--channel=canary'])
66 api.python('Py-vulcanize Tests', 74 api.python('Py-vulcanize Tests',
67 api.path['checkout'].join( 75 api.path['checkout'].join(
68 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'), 76 'third_party', 'py_vulcanize', 'bin', 'run_py_tests'),
69 ['--no-install-hooks']) 77 ['--no-install-hooks'])
70 api.python('Perf Insights Dev Server Tests', 78 api.python('Perf Insights Dev Server Tests: Chrome Stable',
71 api.path['checkout'].join( 79 api.path['checkout'].join(
72 'perf_insights', 'bin', 'run_dev_server_tests'), 80 'perf_insights', 'bin', 'run_dev_server_tests'),
73 ['--no-install-hooks', '--no-use-local-chrome']) 81 ['--no-install-hooks',
82 '--no-use-local-chrome',
83 '--channel=stable'])
84 api.python('Perf Insights Dev Server Tests: Chrome Canary',
85 api.path['checkout'].join(
86 'perf_insights', 'bin', 'run_dev_server_tests'),
87 ['--no-install-hooks',
88 '--no-use-local-chrome',
89 '--channel=canary'])
74 api.python('Systrace Tests', 90 api.python('Systrace Tests',
75 api.path['checkout'].join('systrace', 'bin', 'run_tests')) 91 api.path['checkout'].join('systrace', 'bin', 'run_tests'))
76 if not api.platform.is_win: 92 if not api.platform.is_win:
77 # D8/vinn currently unavailable on Windows. 93 # D8/vinn currently unavailable on Windows.
78 # TODO(sullivan): Add these tests on Windows when available. 94 # TODO(sullivan): Add these tests on Windows when available.
79 api.python('Vinn Tests', 95 api.python('Vinn Tests',
80 api.path['checkout'].join('third_party', 'vinn', 'run_test')) 96 api.path['checkout'].join('third_party', 'vinn', 'run_test'))
81 api.python('Tracing D8 Tests', 97 api.python('Tracing D8 Tests',
82 api.path['checkout'].join('tracing', 'bin', 'run_vinn_tests')) 98 api.path['checkout'].join('tracing', 'bin', 'run_vinn_tests'))
83 api.python('Perf Vinn Insights Tests', 99 api.python('Perf Vinn Insights Tests',
84 api.path['checkout'].join( 100 api.path['checkout'].join(
85 'perf_insights', 'bin', 'run_vinn_tests')) 101 'perf_insights', 'bin', 'run_vinn_tests'))
86 # TODO(nduca): re-enable these if they should be working on Windows. 102 # TODO(nduca): re-enable these if they should be working on Windows.
87 api.python('Perf Insights Python Tests', 103 api.python('Perf Insights Python Tests',
88 api.path['checkout'].join( 104 api.path['checkout'].join(
89 'perf_insights', 'bin', 'run_py_tests'), 105 'perf_insights', 'bin', 'run_py_tests'),
90 ['--no-install-hooks']) 106 ['--no-install-hooks'])
91 107
92 108
93 def GenTests(api): 109 def GenTests(api):
94 yield ( 110 yield (
95 api.test('basic') + 111 api.test('basic') +
96 api.properties(mastername='master.client.catapult', 112 api.properties(mastername='master.client.catapult',
97 buildername='windows', 113 buildername='windows',
98 slavename='windows_slave') + 114 slavename='windows_slave') +
99 api.step_data('Fetch SDK downloader', 115 api.step_data('Fetch SDK downloader',
100 api.gitiles.make_encoded_file( 116 api.gitiles.make_encoded_file(
101 '"<simulated contents of get_appengine.py>"')) 117 '"<simulated contents of get_appengine.py>"'))
102 ) 118 )
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