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