Fix pexpect index for android test runner.
Following https://chromiumcodereview.appspot.com/10310046/ The index for pexpect.TIMEOUT is wrong. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10545055 git-svn-id: http://src.chromium.org/svn/trunk/src/build@141168 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
8a1e8756dc
Коммит
42c1763119
|
@ -172,7 +172,7 @@ class TestPackage(object):
|
|||
p.before)]
|
||||
if found >= 3:
|
||||
# The test bailed out (i.e., didn't print OK or FAIL).
|
||||
if found == 3: # pexpect.TIMEOUT
|
||||
if found == 4: # pexpect.TIMEOUT
|
||||
logging.error('Test terminated after %d second timeout.',
|
||||
self.timeout)
|
||||
timed_out = True
|
||||
|
|
Загрузка…
Ссылка в новой задаче