Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index 235d45bdaeb21f736467ff349579702e4fa06fb9..6c384b1c6a0be82ff5deedfd931d17a6df12369c 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -894,10 +894,13 @@ |
Returns: |
A list of attached devices. |
""" |
- blacklist = (device_blacklist.Blacklist(blacklist_file) |
- if blacklist_file |
- else None) |
- |
+ 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) |
attached_devices = device_utils.DeviceUtils.HealthyDevices(blacklist) |
if test_device: |
test_device = [d for d in attached_devices if d == test_device] |