[Webkit-unassigned] [Bug 48614] webkitpy.layout_tests.run_webkit_tests_unittest.MainTest gets wedged on Windows XP/Cygwin 1.5/Python 2.5.2
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 1 15:40:47 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=48614
--- Comment #8 from Dirk Pranke <dpranke at chromium.org> 2010-11-01 15:40:47 PST ---
(In reply to comment #7)
>
> Thanks for the suggestion. Unfortunately outputcapture doesn't seem to be capturing the output from skip_if's logger. Any ideas why that might be happening? Maybe the logger buffers its input?
The loggers don't buffer any input, so that's not going to be it.
It could be a couple of things. You didn't say in what environment it wasn't working, or how you know that outputcapture isn't capturing it. So, I'll guess that the regular stderr logger isn't configured to print messages at log.info. You might need to do something like:
import logging
class Test(unittest.TestCase)
def setUp():
self.logger = logging.getLogger()
self.old_level = self.logger.level
self.logger.setLevel(logging.INFO)
def tearDown():
self.logger.setLevel(self._old_level)
def test_skip_if(self): ...
If that doesn't work, lmk or ping me on IRC and upload whatever patch you have so I can take a look and see if I can reproduce it.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list