Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1241)

Side by Side Diff: client/site_tests/suite_Factory/test_list

Issue 3104020: Refactor -- make ui passive watcher, control a passive test list. (Closed) Base URL: http://src.chromium.org/git/autotest.git
Patch Set: rebase against ToT Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « client/site_tests/suite_Factory/control ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # -*- coding: utf-8 -*-
2 #
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # DOCUMENTATION:
8 #
9 # Define below an ordered list if tests for execution on factory
10 # assembly lines. This list can be customized for specific factory
11 # needs, within the limits set by the below comments -- specifically,
12 # ODMs should not remove any Google required tests.
13 #
14 # This file is loaded via a call to execfile() in the primary factory
15 # autotest control file.
16
17
18 # -- CUSTOMIZATION VARIABLES ---------------------------------------
19 # You can tune these settings to fit your factory process.
20
21 # Change this to False if you want and allow fast wipe (insecure).
22 _DO_FACTORY_SECURE_WIPE = True
23
24 # Change this to the number of reboots you want during run-in.
25 _REBOOT_SEQ_ITERATIONS = 2
26
27 # Change this to the duration of SAT during run-in (suggested 10+ mins).
28 _SAT_DURATION_SECS = 60
29
30 # -- END OF CUSTOMIZATION VARIABLES --------------------------------
31
32
33 # TEST ORDERING: Tests in the test_list will be run in the order
34 # below, unless the operator interrupts the flow via keyboard
35 # shortcut. To cause immediate execution of the run-in tests, for
36 # example, reorder runin to occur as the first test in the test_list.
37
38 TEST_LIST = [
39 OperatorTest(
40 label_en='start',
41 label_zw='開始',
42 autotest_name='factory_Dummy',
43 kbd_shortcut='e',
44 dargs={'quit_key':ord(' '),
45 'msg':'Hit SPACE to start testing...\n按 "空白鍵" 開始測試...'}),
46 OperatorTest(
47 label_en='sync',
48 label_zw='同步',
49 autotest_name='factory_ScriptWrapper',
50 kbd_shortcut='s',
51 dargs={'cmdline': job.autodir +
52 '/site_tests/factory_ScriptWrapper/dummy.sh'}),
53 AutomatedSequence(
54 label_en='run-in',
55 label_zw='燒機測試',
56 subtest_tag_prefix='runin',
57 kbd_shortcut='r',
58 subtest_list=[
59
60 # THIS IS A GOOGLE REQUIRED TEST.
61 # PLEASE DO NOT REMOVE THIS TEST IN PRODUCTION RELEASES.
62 # Match HW-Qual-ID by setting ignored_cids.
63 AutomatedSubTest(
64 label_en='hw-qual-id matching',
65 label_zw='型號匹配',
66 autotest_name='hardware_Components',
67 dargs={'approved_dbs':'qualified_components*',
68 'ignored_cids':[
69 'hash_ro_firmware',
70 'part_id_bios',
71 'part_id_hwqual',
72 'version_rw_firmware']}),
73
74 AutomatedSubTest(
75 label_en='gpio switch check',
76 label_zw='檢查 gpio 開關',
77 autotest_name='hardware_GPIOSwitches'),
78 AutomatedSubTest(
79 label_en='system stress',
80 label_zw='壓力測試',
81 autotest_name='hardware_SAT',
82 dargs={'seconds': _SAT_DURATION_SECS},
83 drop_caches=True),
84 AutomatedSubTest(
85 label_en='graphics',
86 label_zw='圖型',
87 autotest_name='graphics_GLBench'),
88 AutomatedRebootSubTest(
89 label_en='reboot (%s times)' % _REBOOT_SEQ_ITERATIONS,
90 label_zw='重新開機 (%s 次)' % _REBOOT_SEQ_ITERATIONS,
91 iterations=_REBOOT_SEQ_ITERATIONS)]),
92 OperatorTest(
93 label_en='keyboard',
94 label_zw='鍵盤',
95 autotest_name='factory_Keyboard',
96 kbd_shortcut='k',
97 dargs={'layout':'en_us'}),
98 OperatorTest(
99 label_en='touchpad',
100 label_zw='觸控板',
101 autotest_name='factory_Touchpad',
102 kbd_shortcut='t'),
103 OperatorTest(
104 label_en='leds',
105 label_zw='機身側燈',
106 autotest_name='factory_Leds',
107 kbd_shortcut='l',
108 dargs={'led_ctl_path':
109 '/usr/local/autotest/site_tests/factory_Leds/src/ec_ctl'}),
110 OperatorTest(
111 label_en='display',
112 label_zw='顯示',
113 autotest_name='factory_Display',
114 kbd_shortcut='m'),
115 OperatorTest(
116 label_en='x-display',
117 label_zw='外接顯示',
118 autotest_name='factory_ExtDisplay',
119 kbd_shortcut='n',
120 dargs={'has_audio':True,
121 'sample':'deps/factory/fhorn.wav'}),
122 OperatorTest(
123 label_en='camera',
124 label_zw='相機',
125 autotest_name='factory_Camera',
126 kbd_shortcut='c'),
127 OperatorTest(
128 label_en='audio',
129 label_zw='音源裝置',
130 autotest_name='factory_Audio',
131 kbd_shortcut='a',
132 dargs={'sample':'deps/factory/fhorn.wav'}),
133 OperatorTest(
134 label_en='usb',
135 autotest_name='factory_ExternalStorage',
136 kbd_shortcut='u',
137 dargs={'media':'USB'}),
138 OperatorTest(
139 label_en='sd',
140 autotest_name='factory_ExternalStorage',
141 kbd_shortcut='d',
142 dargs={'media':'SD'}),
143 OperatorTest(
144 label_en='bluetooth',
145 label_zw='藍芽',
146 autotest_name='factory_Dummy',
147 kbd_shortcut='o',
148 dargs={'msg':'bluetooth test, one day...'}),
149 OperatorTest(
150 label_en='3g',
151 label_zw='3G上網',
152 autotest_name='factory_Dummy',
153 kbd_shortcut='g',
154 dargs={'msg':'3g test, one day...'}),
155 OperatorTest(
156 label_en='wifi',
157 label_zw='無線上網',
158 autotest_name='factory_Dummy',
159 kbd_shortcut='w',
160 dargs={'msg':'wifi test, one day...'}),
161 OperatorTest(
162 label_en='light sensor',
163 label_zw='光传感器',
164 autotest_name='factory_LightSensor',
165 dargs={'lux_max':1000, 'lux_min':1},
166 kbd_shortcut='i'),
167
168 # THIS IS A GOOGLE REQUIRED TEST.
169 # PLEASE DO NOT REMOVE THIS TEST IN PRODUCTION RELEASES.
170 OperatorTest(
171 label_en='devrec',
172 label_zw='還原模式',
173 autotest_name='factory_DeveloperRecovery',
174 kbd_shortcut='b',
175 dargs={'layout':'devrec'}),
176
177 # THIS IS A GOOGLE REQUIRED TEST.
178 # PLEASE DO NOT REMOVE THIS TEST IN PRODUCTION RELEASES.
179 AutomatedSequence(
180 label_en='final',
181 label_zw='最後測試',
182 subtest_tag_prefix='final_stage_1',
183 kbd_shortcut='f',
184 subtest_list=[
185 AutomatedSubTest(
186 label_en='write GBB',
187 label_zw='寫入GBB',
188 autotest_name='factory_WriteGBB'),
189 AutomatedRebootSubTest(
190 label_en='reboot',
191 label_zw='重新開機',
192 iterations=1),
193 AutomatedSubTest(
194 label_en='component validation',
195 label_zw='元件驗證',
196 autotest_name='hardware_Components')]),
197
198 # THIS IS A GOOGLE REQUIRED TEST.
199 # PLEASE DO NOT REMOVE THIS TEST IN PRODUCTION RELEASES.
200 OperatorTest(
201 label_en='wipe',
202 label_zw='清除',
203 autotest_name='factory_Wipe',
204 kbd_shortcut='x',
205 # NOTE: factory_Wipe.dargs support following variables for temporary
206 # testing. You can add these settings to help internal test, but
207 # THESE ARE GOOGLE REQUIRED TESTS SO YOU SHOULD NOT DISABLE THEM
208 # IN PRODUCTION RELEASES.
209 # - check_developer_switch: check for developer button switch
210 # - write_protect: enable and check flash ROM write protection
211 # TODO(hungte) Although the 'write_protect' should be a Google required
212 # test, we decide to disable it until first official release of
213 # Chrome OS. Please remove that line for the real release.
214 dargs={'secure_wipe':_DO_FACTORY_SECURE_WIPE,
215 'write_protect':False,
216 'msg':('hit TAB+ENTER to write protect FW and '
217 'wipe test image!...\n'
218 '請按下 TAB+ENTER 啟用寫入保護以及清除'
219 '測試程式資料!...')}),
220
221 InformationScreen(
222 label_en='review',
223 label_zw='報告',
224 autotest_name='factory_Review',
225 kbd_shortcut='z'),
226 ]
OLDNEW
« no previous file with comments | « client/site_tests/suite_Factory/control ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698