Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 158 'path': 'third_party/vinn/bin/run_tests', | 158 'path': 'third_party/vinn/bin/run_tests', |
| 159 'disabled': ['android'], | 159 'disabled': ['android'], |
| 160 }, | 160 }, |
| 161 { | 161 { |
| 162 'name': 'NetLog Viewer Dev Server Tests', | 162 'name': 'NetLog Viewer Dev Server Tests', |
| 163 'path': 'netlog_viewer/bin/run_dev_server_tests', | 163 'path': 'netlog_viewer/bin/run_dev_server_tests', |
| 164 'additional_args': [ | 164 'additional_args': [ |
| 165 '--no-install-hooks', | 165 '--no-install-hooks', |
| 166 '--no-use-local-chrome', | 166 '--no-use-local-chrome', |
| 167 ], | 167 ], |
| 168 'disabled': ['android', 'win', 'mac', 'linux'], | 168 #'disabled': ['android', 'win', 'mac', 'linux'], |
| 169 'disabled': ['android'], | |
|
sullivan
2016/12/06 19:17:01
Can you also move the Netlog Viewer entry up so th
wangyix
2016/12/06 19:22:53
Done.
| |
| 169 }, | 170 }, |
| 170 ] | 171 ] |
| 171 | 172 |
| 172 | 173 |
| 173 def main(args=None): | 174 def main(args=None): |
| 174 """Send list of test to run to recipes generator_script. | 175 """Send list of test to run to recipes generator_script. |
| 175 | 176 |
| 176 See documentation at: | 177 See documentation at: |
| 177 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py | 178 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py |
| 178 """ | 179 """ |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 237 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' | 238 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' |
| 238 if test.get('outputs_presentation_json'): | 239 if test.get('outputs_presentation_json'): |
| 239 step['outputs_presentation_json'] = True | 240 step['outputs_presentation_json'] = True |
| 240 steps.append(step) | 241 steps.append(step) |
| 241 with open(args.output_json, 'w') as outfile: | 242 with open(args.output_json, 'w') as outfile: |
| 242 json.dump(steps, outfile) | 243 json.dump(steps, outfile) |
| 243 | 244 |
| 244 | 245 |
| 245 if __name__ == '__main__': | 246 if __name__ == '__main__': |
| 246 main(sys.argv[1:]) | 247 main(sys.argv[1:]) |
| OLD | NEW |