Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index 6c384b1c6a0be82ff5deedfd931d17a6df12369c..235d45bdaeb21f736467ff349579702e4fa06fb9 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -894,13 +894,10 @@ def _GetAttachedDevices(blacklist_file, test_device): |
Returns: |
A list of attached devices. |
""" |
- if not blacklist_file: |
- # TODO(jbudorick): Remove this once bots pass the blacklist file. |
- blacklist_file = device_blacklist.BLACKLIST_JSON |
- logging.warning('Using default device blacklist %s', |
- device_blacklist.BLACKLIST_JSON) |
+ blacklist = (device_blacklist.Blacklist(blacklist_file) |
+ if blacklist_file |
+ else None) |
- blacklist = device_blacklist.Blacklist(blacklist_file) |
attached_devices = device_utils.DeviceUtils.HealthyDevices(blacklist) |
if test_device: |
test_device = [d for d in attached_devices if d == test_device] |