Closed Bug 551094 Opened 14 years ago Closed 14 years ago

Stop using log file

Categories

(Testing :: XPCShell Harness, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 551406

People

(Reporter: jdm, Unassigned)

Details

For cases in which DebugBreak() is called in Firefox, gdb automatically snaps up the process for 300 seconds.  During that time, no output is displayed under xpcshell which can be rather mysterious.  With straight unbuffered output, this would not be a problem.
It also makes debugging the e10s child harder with MOZ_DEBUG_CHILD_PROCESS, since you have to dig into the log file to find the process id to which to attach.
Running the tests using check-interactive should make everything output to the screen. I don't think we're going to change xpcshell tests to write their logs to stdout by default, I think that's probably too noisy.
(see also: bug 484298, bug 500388)
I think the patch in bug 551406 will be an adequate solution, especially if we make check-one use it by default. Sound good?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.