The branch, master has been updated via e812a60 Write subunit files as bz2. from 11684a6 allow bz2 compressed files.
http://gitweb.samba.org/?p=build-farm.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit e812a60111060f7fd19385ce8f41120df0bc9685 Author: Jelmer Vernooij <jel...@samba.org> Date: Sat Dec 4 03:48:30 2010 +0100 Write subunit files as bz2. ----------------------------------------------------------------------- Summary of changes: tools/fix.py | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Changeset truncated at 500 lines: diff --git a/tools/fix.py b/tools/fix.py index 6a8ec02..b02782c 100755 --- a/tools/fix.py +++ b/tools/fix.py @@ -1,5 +1,6 @@ #!/usr/bin/python +import bz2 import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))) @@ -63,14 +64,14 @@ for build in store.find(StormBuild, StormBuild.host_id == None): for build in store.find(StormBuild, StormBuild.basename != None): subunit_path = build.basename + ".subunit" - if os.path.exists(subunit_path): + if os.path.exists(subunit_path) or os.path.exists(subunit_path+".bz2"): continue try: test_output = "".join(extract_test_output(build.read_log())) except (LogFileMissing, NoTestOutput): continue print "Writing subunit file for %r" % build - f = open(subunit_path, 'w') + f = bz2.BZ2File(subunit_path+".bz2", 'w') try: f.write(test_output) finally: -- build.samba.org