• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 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
5from autotest_lib.server import utils
6
7AUTHOR = "coconutruben"
8NAME = "servo_LabControlVerification"
9PURPOSE = "Validate basic, critial servo controls for the lab work."
10TIME = "LONG"
11CRITERIA="Run on DUT with a servo attached and a functional DUT on the servo."
12TEST_CATEGORY = "Benchmark"
13TEST_CLASS = "servo"
14TEST_TYPE = "server"
15
16DOC = """
17
18This test uses a servo host as DUT and then verifies that basic servod
19controls work on it, that are required for critical lab functionality.
20Additionally, it tries to ensure that all consoles (cr50, EC, and AP) are
21addressable.
22
23This test needs to run on a device that has a servo attached to it so
24it can act as a servo host. Additionally, a decently functional DUT needs to
25hang on the servo so that the controls can have meaningful output.
26"""
27
28def run(machine):
29    # The machine here is the machine running servod, so traditionally the
30    # servo host.
31    host = hosts.create_host(machine)
32    job.run_test("servo_LabControlVerification", host=host)
33
34parallel_simple(run, machines)
35