[zorg] r173814 - Tweak to r173736 suggested by David Blaikie. Fixes the issue I am seeing with make check steps.

David Dean david_dean at apple.com
Tue Jan 29 10:18:59 PST 2013


Author: ddean
Date: Tue Jan 29 12:18:59 2013
New Revision: 173814

URL: http://llvm.org/viewvc/llvm-project?rev=173814&view=rev
Log:
Tweak to r173736 suggested by David Blaikie. Fixes the issue I am seeing with make check steps.

Modified:
    zorg/trunk/zorg/buildbot/commands/LitTestCommand.py

Modified: zorg/trunk/zorg/buildbot/commands/LitTestCommand.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/commands/LitTestCommand.py?rev=173814&r1=173813&r2=173814&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/commands/LitTestCommand.py (original)
+++ zorg/trunk/zorg/buildbot/commands/LitTestCommand.py Tue Jan 29 12:18:59 2013
@@ -42,7 +42,7 @@ class LitLogObserver(LogLineObserver):
     m = self.kTestLineRE.match(line)
     if m:
       code, name = m.groups()
-      if name != self.inFailure[0]:
+      if self.inFailure and name != self.inFailure[0]:
         name,log = self.inFailure
         self.step.addCompleteLog(name.replace('/', '__'), '\n'.join(log))
         self.inFailure = None





More information about the llvm-commits mailing list