=== modified file 'bzrlib/benchmarks/__init__.py' --- bzrlib/benchmarks/__init__.py 2006-07-19 05:54:36 +0000 +++ bzrlib/benchmarks/__init__.py 2006-08-09 04:41:00 +0000 @@ -17,13 +17,25 @@ """Benchmark test suite for bzr.""" +import os + from bzrlib import bzrdir, plugin from bzrlib.tests.TestUtil import TestLoader from bzrlib.tests.blackbox import ExternalBase +from bzrlib import trace class Benchmark(ExternalBase): + def _finishLogFile(self): + if self._log_file is None: + return + trace.disable_test_log(self._log_nonce) + self._log_contents = 'DELETED to lower the memory footprint' + self._log_file.close() + os.remove(self._log_file_name) + self._log_file = self._log_file_name = None + def make_kernel_like_tree(self, url=None): """Setup a temporary tree roughly like a kernel tree.