Bug 487494 - Pipe xpcshell's output through a stack fixer.;r=ted

This commit is contained in:
Chris Manchester
2015-06-11 11:21:13 -07:00
parent 0e4c4a9b01
commit aa30a01aa0
6 changed files with 66 additions and 7 deletions

View File

@@ -357,6 +357,7 @@ class XPCShellTestsTests(unittest.TestCase):
def setUp(self):
self.log = StringIO()
self.tempdir = tempfile.mkdtemp()
self.utility_path = os.path.join(objdir, 'dist', 'bin')
logger = structured.commandline.setup_logging("selftest%s" % id(self),
{},
{"tbpl": self.log})
@@ -409,7 +410,8 @@ tail =
shuffle=shuffle,
testsRootDir=self.tempdir,
verbose=verbose,
sequential=True),
sequential=True,
utility_path=self.utility_path),
msg="""Tests should have %s, log:
========
%s