* commit '2b0deb91c3dca2b7b2a5ef0445fed73db63a922d': adb: win32: fix unittest exit code parsing
This commit is contained in:
commit
22b510adc5
1 changed files with 2 additions and 1 deletions
|
|
@ -112,7 +112,8 @@ class AndroidDevice(object):
|
||||||
_RETURN_CODE_PROBE_STRING = 'echo "{0}$?"'.format(_RETURN_CODE_DELIMITER)
|
_RETURN_CODE_PROBE_STRING = 'echo "{0}$?"'.format(_RETURN_CODE_DELIMITER)
|
||||||
|
|
||||||
# Maximum search distance from the output end to find the delimiter.
|
# Maximum search distance from the output end to find the delimiter.
|
||||||
_RETURN_CODE_SEARCH_LENGTH = len('{0}255\n'.format(_RETURN_CODE_DELIMITER))
|
# adb on Windows returns \r\n even if adbd returns \n.
|
||||||
|
_RETURN_CODE_SEARCH_LENGTH = len('{0}255\r\n'.format(_RETURN_CODE_DELIMITER))
|
||||||
|
|
||||||
def __init__(self, serial, product=None):
|
def __init__(self, serial, product=None):
|
||||||
self.serial = serial
|
self.serial = serial
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue