diff options
author | frankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-24 19:10:27 +0000 |
---|---|---|
committer | frankf@chromium.org <frankf@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-24 19:10:27 +0000 |
commit | 0a5dbbe90847eb21d1e127b226a76b9c36a8e82c (patch) | |
tree | 29c9f7977081f4d4f9bcf9e826cd05040b29ffbf /build | |
parent | b3803f0ab17454a8500c9a12f4daf1be9df62c8b (diff) | |
download | chromium_src-0a5dbbe90847eb21d1e127b226a76b9c36a8e82c.zip chromium_src-0a5dbbe90847eb21d1e127b226a76b9c36a8e82c.tar.gz chromium_src-0a5dbbe90847eb21d1e127b226a76b9c36a8e82c.tar.bz2 |
[Android] Improve exception message when failed to get test list.
BUG=None
R=craigdh@chromium.org
Review URL: https://codereview.chromium.org/40523004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/android/pylib/gtest/setup.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/android/pylib/gtest/setup.py b/build/android/pylib/gtest/setup.py index c6fc730..4508d7c 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): |