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

Side by Side Diff: client/site_tests/suite_Factory/control.full

Issue 2857012: Batched update of factory tests. (Closed) Base URL: ssh://gitrw.chromium.org/autotest.git
Patch Set: finished comment Created 10 years, 6 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
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 AUTHOR = "Chrome OS Team"
6 NAME = "Factory"
7 TIME = "LONG"
8 TEST_CATEGORY = "Functional"
9 TEST_CLASS = "suite"
10 TEST_TYPE = "client"
11
12 DOC = """
13 This test suite runs automated client-side manufacturing tests.
14 """
15
16
17 # Hack to work around autotest's obsession with GRUB.
18 def do_nothing(tag):
19 pass
20 job.bootloader.set_default = do_nothing
21 job.bootloader.boot_once = do_nothing
22
23
24 # This is where we start.
25 def step_init():
26 step_functional_test()
27
28
29 # We can report failure on crash, by leaving
30 # 'step_crashed' in the next reboot slot.
31 def step_crashed():
32 job.run_test('factory_Fail')
33
34
35 # Do quick functionality and config tests.
36 def step_functional_test():
37 # Qualified Component Check
38 job.run_test('hardware_Components', approved_db='qualified_components')
39
40 # Firmware write protect, developer mode.
41 job.run_test('hardware_GPIOSwitches')
42
43 step_runin()
44
45
46 # Do longer runin tests.
47 def step_runin():
48 # Drop caches before hardware_SAT.
49 job.drop_caches_between_iterations = True
50 job.run_test('hardware_SAT')
51 job.drop_caches_between_iterations = False
52
53 # Reboot here for no particular reason.
54 job.next_step([step_manual])
55 job.reboot()
56
57
58 # Do touch tests.
59 def step_manual():
60 # More manual tests to be added here.
61
62 job.run_test('factory_ShowTestResults')
63
OLDNEW
« no previous file with comments | « client/site_tests/suite_Factory/control.config ('k') | client/site_tests/suite_Factory/control.reboot » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698