1# Copyright (c) 2014 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
5NAME = "kernel_AsyncDriverProbe"
6AUTHOR = "The Chromium OS Authors"
7PURPOSE = "Verify kernel correctly implements asynchronous driver probing"
8CRITERIA = """
9   Fails if device registration for devices controlled by drivers requesting
10   asynchronous probing takes too long.
11"""
12TIME = "SHORT"
13ATTRIBUTES = "suite:kernel_daily_regression"
14TEST_CATEGORY = "Functional"
15TEST_CLASS = "kernel"
16TEST_TYPE = "client"
17
18DOC = """
19    Checks that the kernel correctly implements asynchronous probing for
20    drivers that request it by checking time needed to execute
21    platform_device_register() and platform_driver_register() calls with
22    driver that takes 10 secs to probe device.
23"""
24
25job.run_test('kernel_AsyncDriverProbe')
26