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 TEST_CATEGORY = "Functional" 15 TEST_CLASS = "kernel" 16 TEST_TYPE = "client" 17 18 DOC = """ 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 25 job.run_test('kernel_AsyncDriverProbe') 26