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 24 matching lines...) Expand all Loading... |
35 ('desktopui_WindowManagerFocusNewWindows', {}), | 35 ('desktopui_WindowManagerFocusNewWindows', {}), |
36 # TODO(ericli): reenable it after screen locker is enabled. | 36 # TODO(ericli): reenable it after screen locker is enabled. |
37 # http://code.google.com/p/chromium-os/issues/detail?id=7758 | 37 # http://code.google.com/p/chromium-os/issues/detail?id=7758 |
38 # ('desktopui_ScreenLocker', {}), | 38 # ('desktopui_ScreenLocker', {}), |
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', {}), |
| 46 ('login_CryptohomeIncognitoUnmounted', {}), |
45 ('login_LoginSuccess', {'tag': 'default'}), | 47 ('login_LoginSuccess', {'tag': 'default'}), |
46 ('login_LoginSuccess', {'creds': '$apps', 'tag': 'apps'}), | 48 ('login_LoginSuccess', {'creds': '$apps', 'tag': 'apps'}), |
| 49 ('login_OwnershipNotRetaken', {}), |
| 50 ('login_OwnershipTaken', {}), |
47 ('login_RemoteLogin', {}), | 51 ('login_RemoteLogin', {}), |
48 ('network_DisableInterface', {'iface_name': 'wlan0', | 52 ('network_DisableInterface', {'iface_name': 'wlan0', |
49 'tag': 'wlan0'}), | 53 'tag': 'wlan0'}), |
50 ('network_Ping', {}), | 54 ('network_Ping', {}), |
51 ] | 55 ] |
52 | 56 |
53 | 57 |
54 def run_tests(machine): | 58 def run_tests(machine): |
55 client = hosts.create_host(machine) | 59 client = hosts.create_host(machine) |
56 client_attributes = site_host_attributes.HostAttributes(machine) | 60 client_attributes = site_host_attributes.HostAttributes(machine) |
57 | 61 |
58 client_at = autotest.Autotest(client) | 62 client_at = autotest.Autotest(client) |
59 for test, argv in TESTS: | 63 for test, argv in TESTS: |
60 client_at.run_test(test, **argv) | 64 client_at.run_test(test, **argv) |
61 | 65 |
62 if not client_attributes.has_resume_bug: | 66 if not client_attributes.has_resume_bug: |
63 client_at.run_test('power_Resume') | 67 client_at.run_test('power_Resume') |
64 | 68 |
65 # Disable log rotation while shutting down just in case | 69 # Disable log rotation while shutting down just in case |
66 # platform_Shutdown needs to find logs. | 70 # platform_Shutdown needs to find logs. |
67 log_pauser = cros_logging.LogRotationPauser(client) | 71 log_pauser = cros_logging.LogRotationPauser(client) |
68 log_pauser.begin() | 72 log_pauser.begin() |
69 client.reboot() | 73 client.reboot() |
70 client_at.run_test('platform_Shutdown') | 74 client_at.run_test('platform_Shutdown') |
71 log_pauser.end() | 75 log_pauser.end() |
72 | 76 |
73 | 77 |
74 job.parallel_on_machines(run_tests, machines) | 78 job.parallel_on_machines(run_tests, machines) |
OLD | NEW |