[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: http://src.chromium.org/svn/trunk/src/build@230783 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
97748bab29
Коммит
87fb22931a
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче