| OLD | NEW |
| 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS 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 AUTHOR = "Chrome OS Team" | 5 AUTHOR = "Chrome OS Team" |
| 6 NAME = "Regression" | 6 NAME = "Regression" |
| 7 TIME = "LONG" | 7 TIME = "LONG" |
| 8 TEST_CATEGORY = "Functional" | 8 TEST_CATEGORY = "Functional" |
| 9 TEST_CLASS = "suite" | 9 TEST_CLASS = "suite" |
| 10 TEST_TYPE = "server" | 10 TEST_TYPE = "server" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 ('platform_MiniJailVfsNamespace', {}), | 83 ('platform_MiniJailVfsNamespace', {}), |
| 84 ('platform_ProcessPrivileges', {}), | 84 ('platform_ProcessPrivileges', {}), |
| 85 ('platform_Rootdev', {}), | 85 ('platform_Rootdev', {}), |
| 86 ('platform_SessionManagerTerm', {}), | 86 ('platform_SessionManagerTerm', {}), |
| 87 ('platform_StackProtector', {}), | 87 ('platform_StackProtector', {}), |
| 88 ('platform_TempFS', {}), | 88 ('platform_TempFS', {}), |
| 89 # TODO(dalecurtis): AudioBench does not work; see http://crosbug.com/12647 | 89 # TODO(dalecurtis): AudioBench does not work; see http://crosbug.com/12647 |
| 90 # ('realtimecomm_GTalkAudioBench', {}), | 90 # ('realtimecomm_GTalkAudioBench', {}), |
| 91 ('realtimecomm_GTalkunittest', {}), | 91 ('realtimecomm_GTalkunittest', {}), |
| 92 ('unixbench', {}), | 92 ('unixbench', {}), |
| 93 # desktopui_UrlFetch has an undesired 'shutdown' command inside which will cause | |
| 94 # consecutive test to be aborted unexpectly. Move it to the end of the test | |
| 95 # loop. | |
| 96 ('desktopui_UrlFetch', {}), | |
| 97 ] | 93 ] |
| 98 | 94 |
| 99 # A dict which holds {machine: [(test, argv), (test, argv), ...]} | 95 # A dict which holds {machine: [(test, argv), (test, argv), ...]} |
| 100 test_dict = {} | 96 test_dict = {} |
| 101 | 97 |
| 102 # Assign tests with its argv to machines in a round-robin way. | 98 # Assign tests with its argv to machines in a round-robin way. |
| 103 index = 0 | 99 index = 0 |
| 104 for test_with_argv in TESTS: | 100 for test_with_argv in TESTS: |
| 105 m_index = index % len(machines) | 101 m_index = index % len(machines) |
| 106 test_list = test_dict.setdefault(machines[m_index], []) | 102 test_list = test_dict.setdefault(machines[m_index], []) |
| (...skipping 25 matching lines...) Expand all Loading... |
| 132 job.run_test("logging_KernelCrashServer", host=client) | 128 job.run_test("logging_KernelCrashServer", host=client) |
| 133 | 129 |
| 134 if client_attributes.has_chromeos_firmware: | 130 if client_attributes.has_chromeos_firmware: |
| 135 client_at.run_test('hardware_TPMCheck') | 131 client_at.run_test('hardware_TPMCheck') |
| 136 | 132 |
| 137 job.parallel_on_machines(run_assigned_tests, machines) | 133 job.parallel_on_machines(run_assigned_tests, machines) |
| 138 | 134 |
| 139 | 135 |
| 140 # Run server-side suites | 136 # Run server-side suites |
| 141 job.run_control('server/site_tests/suites/control.security') | 137 job.run_control('server/site_tests/suites/control.security') |
| OLD | NEW |