• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# -*- coding: utf-8 -*-
2# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5TIME="SHORT"
6AUTHOR = "The Chromium OS Authors"
7DOC = """
8Tests that Chrontel ch7036 server is operational and available
9"""
10
11NAME = 'hardware_ch7036'
12PURPOSE = 'Tests that Chrontel ch7036 server is operational and available'
13CRITERIA = """
14Fails if upstart(initctl) can't be contacted or isn't running chrontel server
15Runs some DPMS commands in attempt to perturb server
16Fails if unable to find log open (via lsof)
17Fails if log doesn't locate i2c device
18Fails if log doesn't contain version string signifying fw loaded/operational
19Fails if server restarts (pid changes) while test is running
20"""
21TEST_CLASS = "hardware"
22TEST_CATEGORY = 'Functional'
23TEST_TYPE = 'client'
24
25job.run_test('hardware_ch7036')
26