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

This commit is contained in:
jwalden%mit.edu 2007-02-13 21:16:09 +00:00
Родитель 37692b7e71
Коммит 1a04feb642
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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;
{