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