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

Side by Side Diff: catapult_build/build_steps.py

Issue 1945733002: [Battor] Fix broken BattOr unit tests and set them to run in CQ. (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: fix whitespace Created 4 years, 7 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
« no previous file with comments | « no previous file | common/battor/battor/__init__.py » ('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 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 10 matching lines...) Expand all
21 # outputs_presentation_json (optional): If True, pass in --presentation-json 21 # outputs_presentation_json (optional): If True, pass in --presentation-json
22 # argument to the test executable to allow it to update the buildbot status 22 # argument to the test executable to allow it to update the buildbot status
23 # page. More details here: 23 # page. More details here:
24 # github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py 24 # github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py
25 _CATAPULT_TESTS = [ 25 _CATAPULT_TESTS = [
26 { 26 {
27 'name': 'BattOr Smoke Tests', 27 'name': 'BattOr Smoke Tests',
28 'path': 'common/battor/battor/battor_wrapper_devicetest.py', 28 'path': 'common/battor/battor/battor_wrapper_devicetest.py',
29 }, 29 },
30 { 30 {
31 'name': 'BattOr Unit Tests',
32 'path': 'common/battor/bin/run_py_tests',
33 },
34 {
31 'name': 'Build Python Tests', 35 'name': 'Build Python Tests',
32 'path': 'catapult_build/bin/run_py_tests', 36 'path': 'catapult_build/bin/run_py_tests',
33 }, 37 },
34 { 38 {
35 'name': 'Catapult Base Tests', 39 'name': 'Catapult Base Tests',
36 'path': 'catapult_base/bin/run_tests', 40 'path': 'catapult_base/bin/run_tests',
37 }, 41 },
38 { 42 {
39 'name': 'Dashboard Dev Server Tests Canary', 43 'name': 'Dashboard Dev Server Tests Canary',
40 'path': 'dashboard/bin/run_dev_server_tests', 44 'path': 'dashboard/bin/run_dev_server_tests',
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' 208 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox'
205 if test.get('outputs_presentation_json'): 209 if test.get('outputs_presentation_json'):
206 step['outputs_presentation_json'] = True 210 step['outputs_presentation_json'] = True
207 steps.append(step) 211 steps.append(step)
208 with open(args.output_json, 'w') as outfile: 212 with open(args.output_json, 'w') as outfile:
209 json.dump(steps, outfile) 213 json.dump(steps, outfile)
210 214
211 215
212 if __name__ == '__main__': 216 if __name__ == '__main__':
213 main(sys.argv[1:]) 217 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « no previous file | common/battor/battor/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698