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