blob: 3cb38c794b9e75173f10e42be5de9127075aadf6 [file] [log] [blame]
# 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 = "Chrome OS Team"
NAME = "power_Resume seconds_system_resume <= 1.0"
PURPOSE = "Measure the amount of time it takes to resume from suspend."
CRITERIA = "This test is a benchmark."
SUITE = "hwqual"
TEST_CLASS = "power"
TEST_TYPE = "client"
DOC = """
This test will search /var/log/messages for pertinent strings to determine if
the cpu is sleeping. It will wait for a number of seconds before suspending to
ram. It will then calculate how many seconds the system was suspended, and
how many seconds it took to resume. As a precaution it will ensure your
network interface is UP after it has resumed.
job.run_test('power_Resume', constraints=['seconds_system_resume <= 1.0'])