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
parent 9e79ffd7a9
commit 394b3f25cf

View File

@ -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))