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