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 = "Nightly" | 6 NAME = "Nightly" |
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" |
11 | 11 |
12 DOC = """ | 12 DOC = """ |
13 This test suite runs automated tests that should all pass and that, together | 13 This test suite runs automated tests that should all pass and that, together |
14 with the BuildVerify suite, verify that all major features in the build are | 14 with the BuildVerify suite, verify that all major features in the build are |
15 fully functional. These are meant to run nightly in less than 8 hours. | 15 fully functional. These are meant to run nightly in less than 8 hours. |
16 """ | 16 """ |
17 | 17 |
18 from autotest_lib.server import site_host_attributes | 18 from autotest_lib.server import site_host_attributes |
19 | 19 |
20 # List of client tests with parameters | 20 # List of client tests with parameters |
21 TESTS = [ | 21 TESTS = [ |
22 ('compilebench', {}), | 22 ('compilebench', {}), |
23 ('dbench', {}), | 23 ('dbench', {}), |
24 ('desktopui_IBusTest', {}), | 24 ('desktopui_IBusTest', {}), |
| 25 ('desktopui_ImeTest', {}), |
25 ('desktopui_SpeechSynthesisSemiAuto', {}), | 26 ('desktopui_SpeechSynthesisSemiAuto', {}), |
26 ('desktopui_SunSpiderBench', {}), | 27 ('desktopui_SunSpiderBench', {}), |
27 ('desktopui_V8Bench', {}), | 28 ('desktopui_V8Bench', {}), |
28 ('desktopui_WindowManagerFocusNewWindows', {}), | 29 ('desktopui_WindowManagerFocusNewWindows', {}), |
29 ('desktopui_WindowManagerHotkeys', {}), | 30 ('desktopui_WindowManagerHotkeys', {}), |
30 ('disktest', {}), | 31 ('disktest', {}), |
31 ('firmware_VbootCrypto', {}), | 32 ('firmware_VbootCrypto', {}), |
32 ('fsx', {}), | 33 ('fsx', {}), |
33 ('graphics_GLAPICheck', {}), | 34 ('graphics_GLAPICheck', {}), |
34 ('graphics_GLBench', {}), | 35 ('graphics_GLBench', {}), |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 ('platform_NetParms', {}), | 83 ('platform_NetParms', {}), |
83 ('platform_ProcessPrivileges', {}), | 84 ('platform_ProcessPrivileges', {}), |
84 ('platform_Rootdev', {}), | 85 ('platform_Rootdev', {}), |
85 ('platform_StackProtector', {}), | 86 ('platform_StackProtector', {}), |
86 ('platform_TempFS', {}), | 87 ('platform_TempFS', {}), |
87 ('realtimecomm_GTalkAudioBench', {}), | 88 ('realtimecomm_GTalkAudioBench', {}), |
88 ('realtimecomm_GTalkunittest', {}), | 89 ('realtimecomm_GTalkunittest', {}), |
89 ('unixbench', {}), | 90 ('unixbench', {}), |
90 # desktopui_UrlFetch has an undesired 'shutdown' command inside which will cause | 91 # desktopui_UrlFetch has an undesired 'shutdown' command inside which will cause |
91 # consecutive test to be aborted unexpectly. Move it to the end of the test | 92 # consecutive test to be aborted unexpectly. Move it to the end of the test |
92 # loop. | 93 # loop. |
93 ('desktopui_UrlFetch', {}), | 94 ('desktopui_UrlFetch', {}), |
94 ] | 95 ] |
95 | 96 |
96 # A dict which holds {machine: [(test, argv), (test, argv), ...]} | 97 # A dict which holds {machine: [(test, argv), (test, argv), ...]} |
97 test_dict = {} | 98 test_dict = {} |
98 | 99 |
99 # Assign tests with its argv to machines in a round-robin way. | 100 # Assign tests with its argv to machines in a round-robin way. |
100 index = 0 | 101 index = 0 |
101 for test_with_argv in TESTS: | 102 for test_with_argv in TESTS: |
102 m_index = index % len(machines) | 103 m_index = index % len(machines) |
103 test_list = test_dict.setdefault(machines[m_index], []) | 104 test_list = test_dict.setdefault(machines[m_index], []) |
(...skipping 21 matching lines...) Expand all Loading... |
125 | 126 |
126 job.run_test("platform_KernelErrorPaths", host=client) | 127 job.run_test("platform_KernelErrorPaths", host=client) |
127 if client_attributes.has_working_kcrash: | 128 if client_attributes.has_working_kcrash: |
128 job.run_test("logging_KernelCrashServer", host=client) | 129 job.run_test("logging_KernelCrashServer", host=client) |
129 | 130 |
130 job.parallel_on_machines(run_assigned_tests, machines) | 131 job.parallel_on_machines(run_assigned_tests, machines) |
131 | 132 |
132 | 133 |
133 # Run server-side suites | 134 # Run server-side suites |
134 job.run_control('server/site_tests/suite_SecurityFunctional/control') | 135 job.run_control('server/site_tests/suite_SecurityFunctional/control') |
OLD | NEW |