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