1 # Copyright 2015 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 = "kathrelkeld" 6 NAME = "touch_HasInput.touchscreen" 7 PURPOSE = "Check whether a touchscreen is present as an input source." 8 CRITERIA = """ 9 This test will fail if the device does not have touchpad input. 10 """ 11 ATTRIBUTES = "suite:bvt-perbuild, suite:touch" 12 SUITE = "bvt-perbuild,touch" 13 TIME = "SHORT" 14 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "touch" 16 TEST_TYPE = "client" 17 DEPENDENCIES = "touchscreen" 18 19 DOC = """ 20 If there is no /dev/input/event* that is a touchscreen, test will fail. Test 21 should only be run on devices with a touchscreen. 22 """ 23 24 job.run_test('touch_HasInput', input_type='touchscreen') 25