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

Side by Side Diff: catapult_build/build_steps.py

Issue 1920023002: [BattOr] Add real device smoke test (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: Created 4 years, 8 months 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
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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 }, 150 },
151 { 151 {
152 'name': 'Tracing Python Tests', 152 'name': 'Tracing Python Tests',
153 'path': 'tracing/bin/run_py_tests', 153 'path': 'tracing/bin/run_py_tests',
154 'additional_args': ['--no-install-hooks'], 154 'additional_args': ['--no-install-hooks'],
155 }, 155 },
156 { 156 {
157 'name': 'Vinn Tests', 157 'name': 'Vinn Tests',
158 'path': 'third_party/vinn/run_test', 158 'path': 'third_party/vinn/run_test',
159 }, 159 },
160 {
161 'name': 'BattOr Smoke Tests',
nednguyen 2016/04/26 02:28:04 For the quicker turnaround & alphabetical. I would
rnephew (Reviews Here) 2016/04/26 03:43:55 Done.
162 'path': 'common/battor/battor/battor_wrapper_devicetest.py',
163 },
160 ] 164 ]
161 165
162 166
163 def main(args=None): 167 def main(args=None):
164 """Send list of test to run to recipes generator_script. 168 """Send list of test to run to recipes generator_script.
165 169
166 See documentation at: 170 See documentation at:
167 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py 171 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py
168 """ 172 """
169 parser = argparse.ArgumentParser(description='Run catapult tests.') 173 parser = argparse.ArgumentParser(description='Run catapult tests.')
(...skipping 30 matching lines...) Expand all
200 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' 204 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox'
201 if test.get('outputs_presentation_json'): 205 if test.get('outputs_presentation_json'):
202 step['outputs_presentation_json'] = True 206 step['outputs_presentation_json'] = True
203 steps.append(step) 207 steps.append(step)
204 with open(args.output_json, 'w') as outfile: 208 with open(args.output_json, 'w') as outfile:
205 json.dump(steps, outfile) 209 json.dump(steps, outfile)
206 210
207 211
208 if __name__ == '__main__': 212 if __name__ == '__main__':
209 main(sys.argv[1:]) 213 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « no previous file | common/battor/battor/battor_binary_dependencies.json » ('j') | common/battor/battor/battor_wrapper.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698