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"
13SUITE = "hwqual"
14TIME = "SHORT"
15TEST_CATEGORY = "Functional"
16TEST_CLASS = "hardware"
17TEST_TYPE = "client"
18
19DOC = """
20This tests the interface provided by the light sensor kernel module for
21controlling various light sensors (TSL2560/1/2/3, ISL29018, etc)
22light-to-digital converters (ie, light sensor chips).
23"""
24
25job.run_test('hardware_LightSensor')
26