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

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

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
« no previous file with comments | « client/site_tests/suite_Factory/control.full ('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 # 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 Reboot"
7 TIME = "Medium"
8 TEST_CATEGORY = "Functional"
9 TEST_CLASS = "suite"
10 TEST_TYPE = "client"
11
12 DOC = """
13 This test suite runs automated client-side reboot 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_reboot_test(1)
27
28
29 # Do longer runin tests.
30 def step_reboot_test(i):
31 if i < 5:
32 job.next_step([step_reboot_test, i + 1])
33
34 job.reboot()
35
OLDNEW
« no previous file with comments | « client/site_tests/suite_Factory/control.full ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698