Index: build/android/run_tests.py |
diff --git a/build/android/run_tests.py b/build/android/run_tests.py |
index ef03c29448d4ae96440c6579b0288e24394cb013..ad002828d93fadf7bf6f608dc828f7e5664eb360 100755 |
--- a/build/android/run_tests.py |
+++ b/build/android/run_tests.py |
@@ -220,7 +220,7 @@ class TestSharder(BaseTestSharder): |
return self._GetTestsFromDevice(available_devices[-1]) |
except Exception as e: |
logging.warning('Failed obtaining tests from %s %s', |
- current_device, e) |
+ available_devices[-1], e) |
available_devices.pop() |
raise Exception('No device available to get the list of tests.') |