[llvm-commits] [zorg] r125915 - /zorg/trunk/llvmlab/llvmlab/ci/summary.py
Daniel Dunbar
daniel at zuster.org
Fri Feb 18 08:43:31 PST 2011
Author: ddunbar
Date: Fri Feb 18 10:43:31 2011
New Revision: 125915
URL: http://llvm.org/viewvc/llvm-project?rev=125915&view=rev
Log:
llvmlab: Fix thinko, summary is supposed to track first failing build after most
recent passing build.
Modified:
zorg/trunk/llvmlab/llvmlab/ci/summary.py
Modified: zorg/trunk/llvmlab/llvmlab/ci/summary.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/ci/summary.py?rev=125915&r1=125914&r2=125915&view=diff
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/ci/summary.py (original)
+++ zorg/trunk/llvmlab/llvmlab/ci/summary.py Fri Feb 18 10:43:31 2011
@@ -46,11 +46,12 @@
if completed is None:
completed = build
- if build.result == 0:
- if passing is None:
+ # Track the (a) most recent passing build and (b) oldest
+ # failure which happened after a passing build.
+ if passing is None:
+ if build.result == 0:
passing = build
- else:
- if failing is None:
+ else:
failing = build
info[builder.name] = {
More information about the llvm-commits
mailing list