| # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| AUTHOR = "Chris Masone <cmasone@chromium.org>" |
| NAME = "platform_CloseOpenLidSimple" |
| PURPOSE = "Test suspend/resume in response to lid events." |
| SUITE = "servo" |
| DEPENDENCIES = "servo" |
| TIME = "LONG" |
| TEST_CATEGORY = "Functional" |
| TEST_CLASS = "platform" |
| TEST_TYPE = "server" |
| |
| DOC = """ |
| This test uses servo to simulate lid close and open events. Device state is |
| verified by pinging.""" |
| |
| def run_closeopenlid(machine): |
| host = hosts.create_host(machine) |
| job.run_test("platform_CloseOpenLidSimple", host=host, disable_sysinfo=True) |
| |
| parallel_simple(run_closeopenlid, machines) |