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_Discoverable.manual' 7 TIME = 'SHORT' 8 TEST_CLASS = 'bluetooth' 9 TEST_TYPE = 'Server' 10 DEPENDENCIES = 'bluetooth' 11 12 DOC = """ 13 Verify that the device can be discovered from another Bluetooth device. 14 15 This is a useful sanity check because it tests basic functionality of the 16 radio and host subsystem. 17 18 This is the manual, interactive, version of bluetooth_Sanity_Discoverable; 19 whereas running that test will use an automated Bluetooth tester, running this 20 test will open a web browser on the device with testing instructions and 21 interactive prompts where required. 22 23 You will need a second device in order to perform those tests and verify the 24 results according to the instructions. 25 """ 26 27 from autotest_lib.server.cros.bluetooth import bluetooth_tester 28 29 30 def run(machine): 31 device_host = hosts.create_host(machine) 32 job.run_test('bluetooth_Sanity_Discoverable', 33 device_host=device_host, 34 tester_host=None, 35 interactive=True) 36 37 38 parallel_simple(run, machines) 39