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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 80 'path': 'devil/bin/run_py_devicetests', | 80 'path': 'devil/bin/run_py_devicetests', |
| 81 'disabled': ['win', 'mac', 'linux'] | 81 'disabled': ['win', 'mac', 'linux'] |
| 82 }, | 82 }, |
| 83 { | 83 { |
| 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': 'Node Smoke Test', | 89 'name': 'Node Smoke Test', |
| 90 'path': 'common/node_runner/bin/test_node_for_smoke', | 90 'path': 'common/eslint/bin/run_eslint', |
| 91 'additional_args': ['--help'], | |
|
nednguyen
2016/09/23 13:22:13
Hmhh, the point of running this is we can make sur
nednguyen
2016/09/23 13:24:26
I think it's best to create a smoke unittest for e
| |
| 91 'disabled': ['android'], | 92 'disabled': ['android'], |
| 92 }, | 93 }, |
| 93 { | 94 { |
| 94 'name': 'Py-vulcanize Tests', | 95 'name': 'Py-vulcanize Tests', |
| 95 'path': 'third_party/py_vulcanize/bin/run_py_tests', | 96 'path': 'third_party/py_vulcanize/bin/run_py_tests', |
| 96 'additional_args': ['--no-install-hooks'], | 97 'additional_args': ['--no-install-hooks'], |
| 97 'disabled': ['android'], | 98 'disabled': ['android'], |
| 98 }, | 99 }, |
| 99 { | 100 { |
| 100 'name': 'Systrace Tests', | 101 'name': 'Systrace Tests', |
| (...skipping 136 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 |