1 # Copyright (c) 2013 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 = "jwerner, chromeos-power" 6 NAME = "power_SuspendStress.video" 7 #SUITE = "jailed_build" 8 ATTRIBUTES = "suite:stress_experimental" 9 SUITE = "stress_experimental" 10 PURPOSE = "Run repeated iterations of suspend/resume while rendering a video." 11 TIME = "MEDIUM" 12 TEST_CATEGORY = "Functional" 13 TEST_CLASS = "power" 14 TEST_TYPE = "client" 15 16 DOC = """ 17 Runs eight minutes of suspend/resume cycles in the background of an OpenGL video. 18 """ 19 20 job.parallel([lambda: job.run_test('power_SuspendStress', tag='video', 21 duration=480, init_delay=20, min_suspend=7)], 22 [lambda: job.run_test('graphics_SanAngeles', creds='$default', 23 tag='power_SuspendStress', iterations=4)]) 24