Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22b510ad authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 2b0deb91: am a169f3b4: Merge "adb: win32: fix unittest exit code parsing"

* commit '2b0deb91':
  adb: win32: fix unittest exit code parsing
parents 6cec026e 2b0deb91
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -112,7 +112,8 @@ class AndroidDevice(object):
    _RETURN_CODE_PROBE_STRING = 'echo "{0}$?"'.format(_RETURN_CODE_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):
        self.serial = serial