Bug 370028 - Unbuffer stdout in xpcshell so that its output during unit tests is in execution order. r+sr=brendan

git-svn-id: svn://10.0.0.236/trunk@220079 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jwalden%mit.edu
2007-02-13 21:16:09 +00:00
parent 3d14a753ba
commit 24650e4887

View File

@@ -964,6 +964,10 @@ main(int argc, char **argv, char **envp)
int result;
nsresult rv;
// unbuffer stdout so that output is in the correct order; note that stderr
// is unbuffered by default
setbuf(stdout, 0);
gErrFile = stderr;
gOutFile = stdout;
{