blob: 423c8623a400f54acb97aea03796281ff3734946 [file] [log] [blame]
Tom Wai-Hong Tam48958832011-12-30 10:16:57 +08001# Copyright (c) 2011 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
5AUTHOR = "Chrome OS Team"
6NAME = "firmware_CgptState"
7PURPOSE = "Servo based executing the CgptState test on client side."
8CRITERIA = "This test will fail if cgpt mis-behaves"
9TIME = "LONG"
10TEST_CATEGORY = "Functional"
11TEST_CLASS = "firmware"
12TEST_TYPE = "server"
13
14DOC = """
15This test triggers the CgptState test on client side. In the client
16CgptState test, it set kernels A and B with different cgpt states
17(priority, tries, successful) and checks their boot results.
18
19The test items and logic are now handled in client. This FAFT test
20just handles the reboot logic.
21See /usr/local/sbin/firmware/saft/cgpt_state.py for more detail.
22"""
23
24def run_cgptstate(machine):
25 host = hosts.create_host(machine)
26 job.run_test("firmware_CgptState", host=host, cmdline_args=args,
27 use_faft=True, disable_sysinfo=True)
28
29parallel_simple(run_cgptstate, machines)