Skip to content

Commit

Permalink
Builds: Improved warning count and OS descriptions
Browse files Browse the repository at this point in the history
Warnings from dpkg-shlibdeps should be ignored.
  • Loading branch information
skyjake committed Oct 4, 2011
1 parent f2514aa commit 916fed2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions distrib/build_event.py
Expand Up @@ -136,7 +136,8 @@ def count_log_word(fn, word):
while True:
pos = txt.find(unicode(word), pos)
if pos < 0: break
if txt[pos-1] not in ['/', '\\'] and txt[pos+len(word)] != 's':
if txt[pos-1] not in ['/', '\\'] and txt[pos+len(word)] != 's' and \
txt[pos-11:pos] != 'shlibdeps: ':
count += 1
pos += len(word)
return count
Expand Down Expand Up @@ -201,10 +202,10 @@ def html_build_description(name, encoded=True):
for f in glob.glob(os.path.join(buildDir, 'build*txt')):
os.system('gzip -9 %s' % f)

oses = [('Windows', '.exe', ['win32', 'win32-32bit']),
('Mac OS X', '.dmg', ['darwin', 'darwin-32bit']),
('Ubuntu', 'i386.deb', ['linux2', 'linux2-32bit']),
('Ubuntu (64-bit)', 'amd64.deb', ['linux2-64bit'])]
oses = [('Windows (x86)', '.exe', ['win32', 'win32-32bit']),
('Mac OS X 10.4+ (i386/ppc)', '.dmg', ['darwin', 'darwin-32bit']),
('Ubuntu (x86)', 'i386.deb', ['linux2', 'linux2-32bit']),
('Ubuntu (x86_64)', 'amd64.deb', ['linux2-64bit'])]

# Print out the matrix.
msg += '<p><table cellspacing="4" border="0">'
Expand Down

0 comments on commit 916fed2

Please sign in to comment.