Home | History | Annotate | Download | only in camera_V4L2
      1 # Copyright 2017 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 = 'The Chromium OS Authors'
      6 NAME = 'camera_V4L2.constant_framerate'
      7 PURPOSE = 'Exercises v4l2 camera devices to verify required operations.'
      8 CRITERIA = """
      9 This is a complex test and tests many different functions. This test will fail
     10 if any of the following conditions occur:
     11   - No v4L2 device is found
     12   - If a mandatory control is not supported
     13   - If streaming is not supported
     14   - If a required resolution is not supported when capturing a stream
     15   - If frame rate is not constant when device supports constant framerate
     16 """
     17 ATTRIBUTES = "suite:bvt-perbuild"
     18 TIME='MEDIUM'
     19 TEST_CATEGORY = 'V4L2'
     20 TEST_TYPE = 'client'
     21 DEPENDENCIES = 'webcam, arc'
     22 BUG_TEMPLATE = {
     23     'labels': ['OS-Chrome', 'VideoTestFailure'],
     24     'cc': ['chromeos-video-test-failures (a] google.com'],
     25 }
     26 
     27 DOC = """
     28 This test executes media_v4l2_test and media_v4l2_unittest binaries.
     29 For more information on V4L2 see:
     30 http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Intro-to-V4L2/
     31 """
     32 
     33 job.run_test('camera_V4L2', test_constant_framerate=True,
     34     tag='constant_framerate')
     35