More temporary debug spew to sort linux mochitest hang.

This commit is contained in:
Chris Jones 2010-01-25 14:10:12 -06:00
parent 10c46ca526
commit e03c1f3854
2 changed files with 27 additions and 0 deletions

View File

@ -265,6 +265,16 @@ PluginModuleChild::AnswerNP_Shutdown(NPError *rv)
{
AssertPluginThread();
#ifdef OS_LINUX
printf("TEST-UNEXPECTED-FAIL | plugin process %d | got NP_Shutdown() %d\n", getpid());
#endif
// the PluginModuleParent shuts down this process after this RPC
// call pops off its stack

View File

@ -115,7 +115,24 @@ protected:
void WaitForChildExit()
{
DCHECK(process_);
printf("TEST-UNEXPECTED-FAIL | process %d busy-waiting on | child process %d\n", getpid(), process_);
HANDLE_EINTR(waitpid(process_, NULL, 0));
printf("TEST-UNEXPECTED-FAIL | process %d done busy-waiting on | child process %d\n", getpid(), process_);
}
pid_t process_;