trap segfaults and such and try to log them on windows

we also try to write a note to the windows event viewer
This commit is contained in:
dwight
2011-04-18 18:44:38 -04:00
parent 736733e957
commit 4f969e112a
9 changed files with 81 additions and 22 deletions

View File

@@ -170,7 +170,7 @@ namespace mongo {
if (minutesRunning > 30){
log() << currentTestName << " has been running for more than 30 minutes. aborting." << endl;
abort();
::abort();
}
else if (minutesRunning > 1){
warning() << currentTestName << " has been running for more than " << minutesRunning-1 << " minutes." << endl;
@@ -422,4 +422,5 @@ namespace mongo {
}
void setupSignals( bool inFork ) {}
}