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 5AUTHOR = 'chromeos-gfx' 6NAME = "graphics_VTSwitch" 7PURPOSE = 'Verify that VT switching works.' 8CRITERIA = """ 9Test fails if any of the following happen: 10- Unable to get a valid screenshot. 11- VT1 and VT2 are not sufficiently different. 12- VT1 does not remain the same between VT switches. 13- VT2 does not remain the same between VT switches. 14- Cannot login after repeated VT switching. 15""" 16TIME = "FAST" 17TEST_CATEGORY = "Functional" 18TEST_CLASS = "graphics" 19TEST_TYPE = "client" 20ATTRIBUTES = "suite:graphics_per-day, suite:bvt-perbuild" 21BUG_TEMPLATE = { 22 'components': ['OS>Kernel>Graphics'], 23} 24 25DOC = """ 26Switches between VT1 and VT2 repeatedly and logs in/out of Chrome to make sure 27the VT switching was successful. Also, checks and compares screenshots to make 28sure each VT remains the same between VT switches, and that VT1 and VT2 are 29sufficiently different. 30""" 31job.run_test("graphics_VTSwitch") 32