Home | History | Annotate | Download | only in power_LoadTest
      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 = "power_LoadTest.1hour"
      7 PURPOSE = "Measure power draw when system is under load."
      8 CRITERIA = "This test is a benchmark."
      9 TIME = "LONG"
     10 TEST_CATEGORY = "Benchmark"
     11 TEST_CLASS = "power"
     12 TEST_TYPE = "client"
     13 
     14 DOC = """
     15 This test runs a load test consisting of cycling though web pages, playing
     16 videos, etc. and measures battery power draw. The duration of this test is
     17 determined by the seconds variable.
     18 
     19 
     20 The following manual steps need to be performed on the device under test
     21 before this test can be run:
     22   - make sure that Ethernet cable is disconnected and WiFi is connected
     23   - disconnect power cable
     24 
     25 You are now ready to run the test.
     26 """
     27 
     28 # TODO (bleung): Find a way to do automatic Facebook login for test account.
     29 # TODO (tbroch): Find way to not replicate all these parameters that are common
     30 # between this control file and the original
     31 loop_time = 3600
     32 loop_count = 1
     33 
     34 job.run_test('power_LoadTest', loop_time=loop_time, loop_count=loop_count,
     35              test_low_batt_p=6)
     36