зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
37692b7e71
Коммит
1a04feb642
|
@ -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;
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче