| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 re | 5 import re |
| 6 from recipe_engine.types import freeze | 6 from recipe_engine.types import freeze |
| 7 | 7 |
| 8 | 8 |
| 9 TEST_CONFIGS = freeze({ | 9 TEST_CONFIGS = freeze({ |
| 10 'benchmarks': { | 10 'benchmarks': { |
| 11 'name': 'Benchmarks', | 11 'name': 'Benchmarks', |
| 12 'tests': ['benchmarks'], | 12 'tests': ['benchmarks'], |
| 13 'test_args': ['--download-data'], | 13 'test_args': ['--download-data'], |
| 14 }, | 14 }, |
| 15 'ignition': { |
| 16 'name': 'Ignition', |
| 17 'tests': ['ignition'], |
| 18 'test_args': ['--variants=ignition', '--ignition'], |
| 19 }, |
| 15 'mjsunit': { | 20 'mjsunit': { |
| 16 'name': 'Mjsunit', | 21 'name': 'Mjsunit', |
| 17 'tests': ['mjsunit'], | 22 'tests': ['mjsunit'], |
| 18 }, | 23 }, |
| 19 'mjsunit_ignition': { | |
| 20 'name': 'Mjsunit - ignition', | |
| 21 'tests': ['mjsunit'], | |
| 22 'test_args': ['--variants=ignition', '--ignition'], | |
| 23 }, | |
| 24 'mjsunit_sp_frame_access': { | 24 'mjsunit_sp_frame_access': { |
| 25 'name': 'Mjsunit - sp frame access', | 25 'name': 'Mjsunit - sp frame access', |
| 26 'tests': ['mjsunit'], | 26 'tests': ['mjsunit'], |
| 27 'test_args': [ | 27 'test_args': [ |
| 28 '--variants=turbofan', '--extra-flags=--turbo_sp_frame_access'], | 28 '--variants=turbofan', '--extra-flags=--turbo_sp_frame_access'], |
| 29 }, | 29 }, |
| 30 'mozilla': { | 30 'mozilla': { |
| 31 'name': 'Mozilla', | 31 'name': 'Mozilla', |
| 32 'tests': ['mozilla'], | 32 'tests': ['mozilla'], |
| 33 }, | 33 }, |
| (...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 def create_test(test_step_config, api, v8_api): | 509 def create_test(test_step_config, api, v8_api): |
| 510 test_cls = V8_NON_STANDARD_TESTS.get(test_step_config.name) | 510 test_cls = V8_NON_STANDARD_TESTS.get(test_step_config.name) |
| 511 if not test_cls: | 511 if not test_cls: |
| 512 # TODO(machenbach): Implement swarming for non-standard tests. | 512 # TODO(machenbach): Implement swarming for non-standard tests. |
| 513 if v8_api.bot_config.get('enable_swarming'): | 513 if v8_api.bot_config.get('enable_swarming'): |
| 514 test_cls = V8SwarmingTest | 514 test_cls = V8SwarmingTest |
| 515 else: | 515 else: |
| 516 test_cls = V8Test | 516 test_cls = V8Test |
| 517 return test_cls(test_step_config, api, v8_api) | 517 return test_cls(test_step_config, api, v8_api) |
| 518 | 518 |
| OLD | NEW |