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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 175 'name': 'Tracing Python Tests', | 175 'name': 'Tracing Python Tests', |
| 176 'path': 'tracing/bin/run_py_tests', | 176 'path': 'tracing/bin/run_py_tests', |
| 177 'additional_args': ['--no-install-hooks'], | 177 'additional_args': ['--no-install-hooks'], |
| 178 'disabled': ['android'], | 178 'disabled': ['android'], |
| 179 }, | 179 }, |
| 180 { | 180 { |
| 181 'name': 'Vinn Tests', | 181 'name': 'Vinn Tests', |
| 182 'path': 'third_party/vinn/run_test', | 182 'path': 'third_party/vinn/run_test', |
| 183 'disabled': ['android'], | 183 'disabled': ['android'], |
| 184 }, | 184 }, |
| 185 { | |
| 186 'name': 'Android: Devil Device Tests', | |
|
jbudorick
2016/06/14 18:17:23
Move this up w/ the Devil Python Tests & drop the
| |
| 187 'path': 'devil/devil/android/device_utils_devicetest.py', | |
| 188 'disabled': ['win', 'mac', 'linux'] | |
| 189 }, | |
| 185 ] | 190 ] |
| 186 | 191 |
| 187 | 192 |
| 188 def main(args=None): | 193 def main(args=None): |
| 189 """Send list of test to run to recipes generator_script. | 194 """Send list of test to run to recipes generator_script. |
| 190 | 195 |
| 191 See documentation at: | 196 See documentation at: |
| 192 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py | 197 github.com/luci/recipes-py/blob/master/recipe_modules/generator_script/api.py |
| 193 """ | 198 """ |
| 194 parser = argparse.ArgumentParser(description='Run catapult tests.') | 199 parser = argparse.ArgumentParser(description='Run catapult tests.') |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 244 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' | 249 step['env']['CHROME_DEVEL_SANDBOX'] = '/opt/chromium/chrome_sandbox' |
| 245 if test.get('outputs_presentation_json'): | 250 if test.get('outputs_presentation_json'): |
| 246 step['outputs_presentation_json'] = True | 251 step['outputs_presentation_json'] = True |
| 247 steps.append(step) | 252 steps.append(step) |
| 248 with open(args.output_json, 'w') as outfile: | 253 with open(args.output_json, 'w') as outfile: |
| 249 json.dump(steps, outfile) | 254 json.dump(steps, outfile) |
| 250 | 255 |
| 251 | 256 |
| 252 if __name__ == '__main__': | 257 if __name__ == '__main__': |
| 253 main(sys.argv[1:]) | 258 main(sys.argv[1:]) |
| OLD | NEW |