cheets_CTS_P/GTS: Disable the Bluetooth prerequisite check.
Temporarily, until a better solution is found.
BUG=b:148621587
TEST=cheets_CTS_P.9.0_r10.arm.CtsBluetoothTestCases
Change-Id: I31ec1d9ab9e77a8db91b7cd6631b8f2545482e51
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/autotest/+/2032913
Reviewed-by: Kazuhiro Inaba <kinaba@chromium.org>
Reviewed-by: Rohit Makasana <rohitbm@chromium.org>
Commit-Queue: Kazuhiro Inaba <kinaba@chromium.org>
Tested-by: Kazuhiro Inaba <kinaba@chromium.org>
Auto-Submit: Kazuhiro Inaba <kinaba@chromium.org>
diff --git a/server/cros/tradefed/tradefed_prerequisite.py b/server/cros/tradefed/tradefed_prerequisite.py
index 4ca6cb0..07524dc 100644
--- a/server/cros/tradefed/tradefed_prerequisite.py
+++ b/server/cros/tradefed/tradefed_prerequisite.py
@@ -7,13 +7,14 @@
def bluetooth(hosts):
"""Check for missing bluetooth hardware.
"""
- for host in hosts:
- output = host.run('hcitool dev').stdout
- lines = output.splitlines()
- if len(lines) < 2 or not lines[0].startswith('Devices:'):
- return False, 'Failed: Bluetooth device is missing.'\
- 'Stdout of the command "hcitool dev1"'\
- 'on host %s was %s' % (host, output)
+ # TODO(ianrlee): Reenable, once a nice check is found in b/148621587.
+ #for host in hosts:
+ # output = host.run('hcitool dev').stdout
+ # lines = output.splitlines()
+ # if len(lines) < 2 or not lines[0].startswith('Devices:'):
+ # return False, 'Failed: Bluetooth device is missing.'\
+ # 'Stdout of the command "hcitool dev1"'\
+ # 'on host %s was %s' % (host, output)
return True, ''