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 57248116a7
commit d741106847

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