Bug 910936 - Add guard so that runxpcshelltests.py doesn't attempt to parse output if there isn't any. r=jdm

This commit is contained in:
Chris Manchester 2013-08-29 22:14:25 -04:00
Родитель 8f97970e9c
Коммит c6d151154e
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -578,7 +578,8 @@ class XPCShellTestThread(Thread):
if testTimer:
testTimer.cancel()
self.parse_output(stdout)
if stdout:
self.parse_output(stdout)
result = not (self.has_failure_output or
(self.getReturnCode(proc) != 0))