• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2012 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 = "platform_USBHIDWake"
7TIME = "SHORT"
8TEST_CATEGORY = "Functional"
9TEST_CLASS = "platform"
10TEST_TYPE = "server"
11
12DOC = '''This test checks to see whether a USB HID Device is capable of waking
13a DUT in the S3 state. It requires user interaction (to press a button
14on an attached HID device), and also that a HID device is plugged into
15the DUT. The openvt binary (emerge emerge sys-apps/kbd) should be available
16so that the user prompting code can work'''
17
18
19def run(machine):
20    job.run_test('platform_USBHIDWake', client_ip=machine)
21
22
23parallel_simple(run, machines)
24