[Pkg-bazaar-commits] ./bzr/unstable r994: doc
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:21:42 UTC 2009
------------------------------------------------------------
revno: 994
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-07-29 09:29:27 -0300
message:
doc
modified:
testsweet.py
-------------- next part --------------
=== modified file 'testsweet.py'
--- a/testsweet.py 2005-07-29 12:19:58 +0000
+++ b/testsweet.py 2005-07-29 12:29:27 +0000
@@ -170,6 +170,12 @@
def log(self, msg):
"""Log a message to a progress file"""
+ # XXX: The problem with this is that code that writes straight
+ # to the log file won't be shown when we display the log
+ # buffer; would be better to not have the in-memory buffer and
+ # instead just a log file per test, which is read in and
+ # displayed if the test fails. That seems to imply one log
+ # per test case, not globally. OK?
self._log_buf = self._log_buf + str(msg) + '\n'
print >>self.TEST_LOG, msg
More information about the Pkg-bazaar-commits
mailing list