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

Andrew Bartlett abartlet at samba.org
Fri Feb 17 01:47:15 MST 2012


The branch, master has been updated
       via  2be44d5 the lcov version has changed, as has the output format
      from  909b72b Revive lcov reporting

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


- Log -----------------------------------------------------------------
commit 2be44d5bd6d4370ebe81a28b10f224d958f920c8
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Fri Feb 17 19:45:43 2012 +1100

    the lcov version has changed, as has the output format

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

Summary of changes:
 buildfarm/__init__.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/buildfarm/__init__.py b/buildfarm/__init__.py
index 380b47b..3708dc2 100644
--- a/buildfarm/__init__.py
+++ b/buildfarm/__init__.py
@@ -43,7 +43,7 @@ def read_trees_from_conf(path):
 
 def lcov_extract_percentage(f):
     """Extract the coverage percentage from the lcov file."""
-    m = re.search('\<td class="headerItem".*?\>Code\&nbsp\;covered\:\<\/td\>.*?\n.*?\<td class="headerValue".*?\>([0-9.]+) \%', f.read())
+    m = re.search('\<td class="headerCovTableEntryLo".*?\>([0-9.]+) \%', f.read())
     if m:
         return m.group(1)
     else:


-- 
build.samba.org


More information about the samba-cvs mailing list