Home | History | Annotate | Download | only in hardware_LightSensor
      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 = "hardware_LightSensor"
      7 PURPOSE = "Verify the Light Sensor Device is supported."
      8 CRITERIA = """
      9 Fails if the light sensor kernel module is not loaded, or its sys files
     10 are not exported.
     11 """
     12 ATTRIBUTES = "suite:hwqual"
     13 SUITE = "hwqual"
     14 TIME = "SHORT"
     15 TEST_CATEGORY = "Functional"
     16 TEST_CLASS = "hardware"
     17 TEST_TYPE = "client"
     18 
     19 DOC = """
     20 This tests the interface provided by the light sensor kernel module for
     21 controlling various light sensors (TSL2560/1/2/3, ISL29018, etc)
     22 light-to-digital converters (ie, light sensor chips).
     23 """
     24 
     25 job.run_test('hardware_LightSensor')
     26