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

Side by Side Diff: catapult_build/build_steps.py

Issue 2553213002: re-enabled netlog viewer dev server tests (Closed)
Patch Set: cleaned up code Created 4 years 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import argparse 5 import argparse
6 import json 6 import json
7 import os 7 import os
8 import sys 8 import sys
9 9
10 # This is the list of tests to run. It is a dictionary with the following 10 # This is the list of tests to run. It is a dictionary with the following
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 'name': 'Devil Python Tests', 84 'name': 'Devil Python Tests',
85 'path': 'devil/bin/run_py_tests', 85 'path': 'devil/bin/run_py_tests',
86 'disabled': ['mac', 'win'], 86 'disabled': ['mac', 'win'],
87 }, 87 },
88 { 88 {
89 'name': 'eslint Tests', 89 'name': 'eslint Tests',
90 'path': 'common/eslint/bin/run_tests', 90 'path': 'common/eslint/bin/run_tests',
91 'disabled': ['android'], 91 'disabled': ['android'],
92 }, 92 },
93 { 93 {
94 'name': 'NetLog Viewer Dev Server Tests',
95 'path': 'netlog_viewer/bin/run_dev_server_tests',
96 'additional_args': [
97 '--no-install-hooks',
98 '--no-use-local-chrome',
99 ],
100 'disabled': ['android'],
101 },
102 {
94 'name': 'Py-vulcanize Tests', 103 'name': 'Py-vulcanize Tests',
95 'path': 'third_party/py_vulcanize/bin/run_py_tests', 104 'path': 'third_party/py_vulcanize/bin/run_py_tests',
96 'additional_args': ['--no-install-hooks'], 105 'additional_args': ['--no-install-hooks'],
97 'disabled': ['android'], 106 'disabled': ['android'],
98 }, 107 },
99 { 108 {
100 'name': 'Systrace Tests', 109 'name': 'Systrace Tests',
101 'path': 'systrace/bin/run_tests', 110 'path': 'systrace/bin/run_tests',
102 }, 111 },
103 { 112 {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 'name': 'Tracing Python Tests', 160 'name': 'Tracing Python Tests',
152 'path': 'tracing/bin/run_py_tests', 161 'path': 'tracing/bin/run_py_tests',
153 'additional_args': ['--no-install-hooks'], 162 'additional_args': ['--no-install-hooks'],
154 'disabled': ['android'], 163 'disabled': ['android'],
155 }, 164 },
156 { 165 {
157 'name': 'Vinn Tests', 166 'name': 'Vinn Tests',
158 'path': 'third_party/vinn/bin/run_tests', 167 'path': 'third_party/vinn/bin/run_tests',
159 'disabled': ['android'], 168 'disabled': ['android'],
160 }, 169 },
161 {
162 'name': 'NetLog Viewer Dev Server Tests',
163 'path': 'netlog_viewer/bin/run_dev_server_tests',
164 'additional_args': [
165 '--no-install-hooks',
166 '--no-use-local-chrome',
167 ],
168 'disabled': ['android', 'win', 'mac', 'linux'],
169 },
170 ] 170 ]
171 171
172 172
173 def main(args=None): 173 def main(args=None):
174 """Send list of test to run to recipes generator_script. 174 """Send list of test to run to recipes generator_script.
175 175
176 See documentation at: 176 See documentation at:
177 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py 177 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py
178 """ 178 """
179 parser = argparse.ArgumentParser(description='Run catapult tests.') 179 parser = argparse.ArgumentParser(description='Run catapult tests.')
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' 237 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox'
238 if test.get('outputs_presentation_json'): 238 if test.get('outputs_presentation_json'):
239 step['outputs_presentation_json'] = True 239 step['outputs_presentation_json'] = True
240 steps.append(step) 240 steps.append(step)
241 with open(args.output_json, 'w') as outfile: 241 with open(args.output_json, 'w') as outfile:
242 json.dump(steps, outfile) 242 json.dump(steps, outfile)
243 243
244 244
245 if __name__ == '__main__': 245 if __name__ == '__main__':
246 main(sys.argv[1:]) 246 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698