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 5 AUTHOR = 'keybuk (a] chromium.org' 6 NAME = 'bluetooth_Sanity_ValidAddress' 7 ATTRIBUTES = "suite:bluetooth, suite:bluetooth_sanity" 8 SUITE = 'bluetooth,bluetooth_sanity' 9 TIME = 'SHORT' 10 TEST_CLASS = 'bluetooth' 11 TEST_TYPE = 'Server' 12 DEPENDENCIES = 'bluetooth,wificell' 13 14 DOC = """ 15 Verify that the device's Bluetooth adapter has a valid address. 16 17 This is a useful sanity check because an address of 00:00:00:00:00:00 often 18 indicates a problem with the host subsystem, stack or driver. 19 """ 20 21 def 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 29 parallel_simple(run, machines) 30