[llvm-commits] [zorg] r78348 - /zorg/trunk/zorg/buildbot/commands/AnalyzerCompareCommand.py
Daniel Dunbar
daniel at zuster.org
Thu Aug 6 15:20:45 PDT 2009
Author: ddunbar
Date: Thu Aug 6 17:20:45 2009
New Revision: 78348
URL: http://llvm.org/viewvc/llvm-project?rev=78348&view=rev
Log:
Add a missing import and resolve status variables correctly.
Modified:
zorg/trunk/zorg/buildbot/commands/AnalyzerCompareCommand.py
Modified: zorg/trunk/zorg/buildbot/commands/AnalyzerCompareCommand.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/commands/AnalyzerCompareCommand.py?rev=78348&r1=78347&r2=78348&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/commands/AnalyzerCompareCommand.py (original)
+++ zorg/trunk/zorg/buildbot/commands/AnalyzerCompareCommand.py Thu Aug 6 17:20:45 2009
@@ -1,4 +1,5 @@
import sys
+import os
from buildbot.steps import shell
from buildbot.status import builder
@@ -98,11 +99,11 @@
def evaluateCommand(self, cmd):
# Always fail if the command itself failed.
if cmd.rc != 0:
- return FAILURE
+ return builder.FAILURE
# Warn about added reports.
if self.observer.num_added:
- return WARNINGS
+ return builder.WARNINGS
- return SUCCESS
+ return builder.SUCCESS
More information about the llvm-commits
mailing list