1# Copyright (c) 2013 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 5AUTHOR = 'keybuk@chromium.org' 6NAME = 'bluetooth_Sanity_ValidAddress' 7ATTRIBUTES = "suite:bluetooth, suite:bluetooth_sanity" 8SUITE = 'bluetooth,bluetooth_sanity' 9TIME = 'SHORT' 10TEST_CLASS = 'bluetooth' 11TEST_TYPE = 'Server' 12DEPENDENCIES = 'bluetooth,wificell' 13 14DOC = """ 15Verify that the device's Bluetooth adapter has a valid address. 16 17This is a useful sanity check because an address of 00:00:00:00:00:00 often 18indicates a problem with the host subsystem, stack or driver. 19""" 20 21def run(machine): 22 device_host = hosts.create_host(machine) 23 job.run_test('bluetooth_Sanity_ValidAddress', 24 device_host=device_host, 25 tester_host=None, 26 interactive=False) 27 28 29parallel_simple(run, machines) 30