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 = "BVT" | 6 NAME = "BVT" |
7 TIME = "SHORT" | 7 TIME = "SHORT" |
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 28 matching lines...) Expand all Loading... |
39 ('graphics_WindowManagerGraphicsCapture', {}), | 39 ('graphics_WindowManagerGraphicsCapture', {}), |
40 ('logging_CrashSender', {}), | 40 ('logging_CrashSender', {}), |
41 ('logging_UserCrash', {}), | 41 ('logging_UserCrash', {}), |
42 ('login_BadAuthentication', {}), | 42 ('login_BadAuthentication', {}), |
43 ('login_CryptohomeIncognitoMounted', {}), | 43 ('login_CryptohomeIncognitoMounted', {}), |
44 ('login_CryptohomeMounted', {}), | 44 ('login_CryptohomeMounted', {}), |
45 ('login_CryptohomeUnmounted', {}), | 45 ('login_CryptohomeUnmounted', {}), |
46 ('login_CryptohomeIncognitoUnmounted', {}), | 46 ('login_CryptohomeIncognitoUnmounted', {}), |
47 ('login_LoginSuccess', {'tag': 'default'}), | 47 ('login_LoginSuccess', {'tag': 'default'}), |
48 ('login_LoginSuccess', {'creds': '$apps', 'tag': 'apps'}), | 48 ('login_LoginSuccess', {'creds': '$apps', 'tag': 'apps'}), |
49 # TODO(cmasone): http://crosbug.com/14008 | 49 ('login_OwnershipNotRetaken', {}), |
50 # ('login_OwnershipNotRetaken', {}), | 50 ('login_OwnershipTaken', {}), |
51 # ('login_OwnershipTaken', {}), | |
52 ('login_RemoteLogin', {}), | 51 ('login_RemoteLogin', {}), |
53 ('network_DisableInterface', {'iface_name': 'wlan0', | 52 ('network_DisableInterface', {'iface_name': 'wlan0', |
54 'tag': 'wlan0'}), | 53 'tag': 'wlan0'}), |
55 ('network_Ping', {}), | 54 ('network_Ping', {}), |
56 ] | 55 ] |
57 | 56 |
58 | 57 |
59 def run_tests(machine): | 58 def run_tests(machine): |
60 client = hosts.create_host(machine) | 59 client = hosts.create_host(machine) |
61 client_attributes = site_host_attributes.HostAttributes(machine) | 60 client_attributes = site_host_attributes.HostAttributes(machine) |
(...skipping 18 matching lines...) Expand all Loading... |
80 # has baked in the lab. Remove run_tests function and | 79 # has baked in the lab. Remove run_tests function and |
81 # job.parallel_on_machines call. | 80 # job.parallel_on_machines call. |
82 if len(machines) > 1: | 81 if len(machines) > 1: |
83 TESTS += [ | 82 TESTS += [ |
84 ('power_Resume', {}, [], ['has_resume_bug']), | 83 ('power_Resume', {}, [], ['has_resume_bug']), |
85 ('platform_Shutdown', {}), | 84 ('platform_Shutdown', {}), |
86 ] | 85 ] |
87 job.distribute_across_machines(TESTS, machines) | 86 job.distribute_across_machines(TESTS, machines) |
88 else: | 87 else: |
89 job.parallel_on_machines(run_tests, machines) | 88 job.parallel_on_machines(run_tests, machines) |
OLD | NEW |