[llvm-commits] [zorg] r99106 - /zorg/trunk/zorg/buildbot/commands/ClangTestCommand.py
Daniel Dunbar
daniel at zuster.org
Sat Mar 20 17:59:54 PDT 2010
Author: ddunbar
Date: Sat Mar 20 19:59:54 2010
New Revision: 99106
URL: http://llvm.org/viewvc/llvm-project?rev=99106&view=rev
Log:
Unresolved test cases should be treated as failures.
Modified:
zorg/trunk/zorg/buildbot/commands/ClangTestCommand.py
Modified: zorg/trunk/zorg/buildbot/commands/ClangTestCommand.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/commands/ClangTestCommand.py?rev=99106&r1=99105&r2=99106&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/commands/ClangTestCommand.py (original)
+++ zorg/trunk/zorg/buildbot/commands/ClangTestCommand.py Sat Mar 20 19:59:54 2010
@@ -67,10 +67,12 @@
numFail = len(grouped.get('FAIL',()))
numXFail = len(grouped.get('XFAIL',()))
numXPass = len(grouped.get('XPASS',()))
+ numUnsupported = len(grouped.get('UNSUPPORTED',()))
+ numUnresolved = len(grouped.get('UNRESOLVED',()))
self.setTestResults(total=numPass + numFail + numXFail + numXPass,
- failed=numFail + numXPass,
+ failed=numFail + numXPass + numUnresolved,
passed=numPass + numXFail,
warnings=numXFail)
- if numFail + numXPass:
+ if numFail + numXPass + numUnresolved:
return buildbot.status.builder.FAILURE
return buildbot.status.builder.SUCCESS
More information about the llvm-commits
mailing list