• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2016 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 = "power_LoadTest.fast_gaia"
7PURPOSE = "Test health of power load test functionality."
8CRITERIA = "This test is a benchmark."
9TIME = "SHORT"
10TEST_CATEGORY = "Benchmark"
11TEST_CLASS = "power"
12TEST_TYPE = "client"
13ATTRIBUTES = "suite:power_build"
14
15DOC = """
16This test runs a load test consisting of cycling though web pages, playing
17videos, etc. and measures battery power draw. The duration of this test is
18determined by the loop_time * loop_count variables below.
19
20This control file is simply meant to stimulate the various aspects of the test
21to validate mechanics are in good health (login, external website access).
22
23It ignores whether wired access (check_network=False) or AC is
24connected(ac_ok=True).
25
26For reasons above and reduced runtime (3min) it will NOT produce valid power
27consumption results for the 60/20/10/10 load and therefore should NOT be used
28for any battery life estimations.
29"""
30
31# TODO (bleung): Find a way to do automatic Facebook login for test account.
32# TODO (tbroch): Find way to not replicate all these parameters that are common
33# between this control file and the original
34loop_time = 180
35loop_count = 1
36
37job.run_test('power_LoadTest', loop_time=loop_time, loop_count=loop_count,
38             test_low_batt_p=6, check_network=False, ac_ok=True,
39             gaia_login=True)
40