[SCM] build.samba.org - branch master updated

Jelmer Vernooij jelmer at samba.org
Sat Nov 13 08:48:07 MST 2010


The branch, master has been updated
       via  398247a Improve regressed_since.
      from  7176a9c Fix old revisions table.

http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 398247a96c40d927d0f0b81ee8a816f2ff16d5a7
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sat Nov 13 16:48:01 2010 +0100

    Improve regressed_since.

-----------------------------------------------------------------------

Summary of changes:
 buildfarm/data.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildfarm/data.py b/buildfarm/data.py
index d6d5732..47a76b4 100644
--- a/buildfarm/data.py
+++ b/buildfarm/data.py
@@ -71,6 +71,12 @@ class BuildStatus(object):
         """Check if this build has regressed since another build."""
         if "disk full" in self.other_failures:
             return False
+        if "timeout" in self.other_failures and "timeout" in other.other_failures:
+            # When the timeout happens exactly can differ slightly, so it's okay
+            # if the numbers are a bit different..
+            return False
+        if "panic" in self.other_failures and not "panic" in other.other_failures:
+            return True
         return cmp(self._status_tuple(), other._status_tuple())
 
     def __cmp__(self, other):


-- 
build.samba.org


More information about the samba-cvs mailing list