Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1100)

Unified Diff: build/android/pylib/gtest/setup.py

Issue 40523004: [Android] Improve exception message when failed to get test list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/setup.py
diff --git a/build/android/pylib/gtest/setup.py b/build/android/pylib/gtest/setup.py
index c6fc730949ff8f5b762de4a689421089fa744012..4508d7ce75e4cbb5f5d83c8f3b79e2a02a0c0dfb 100644
--- a/build/android/pylib/gtest/setup.py
+++ b/build/android/pylib/gtest/setup.py
@@ -61,7 +61,7 @@ _WEBRTC_ISOLATE_FILE_PATHS = {
}
# Append the WebRTC tests with the full path from Chromium's src/ root.
-for test,isolate_path in _WEBRTC_ISOLATE_FILE_PATHS.items():
+for test, isolate_path in _WEBRTC_ISOLATE_FILE_PATHS.items():
_ISOLATE_FILE_PATHS[test] = 'third_party/webrtc/%s' % isolate_path
# Used for filtering large data deps at a finer grain than what's allowed in
@@ -211,9 +211,9 @@ def _GetTestsFromDevice(runner_factory, devices):
return runner_factory(device, 0).GetAllTests()
except (android_commands.errors.WaitForResponseTimedOutError,
android_commands.errors.DeviceUnresponsiveError), e:
- logging.warning('Failed obtaining tests from %s with exception: %s',
+ logging.warning('Failed obtaining test list from %s with exception: %s',
device, e)
- raise Exception('No device available to get the list of tests.')
+ raise Exception('Failed to obtain test list from devices.')
def _FilterTestsUsingPrefixes(all_tests, pre=False, manual=False):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698