Merge pull request #1046 from mrvn/pull-testutil-set-alarm

Set an alarm(60) in setup_test_environment() when not on windows so test...
This commit is contained in:
Pieter Hintjens 2014-05-19 17:51:42 +02:00
commit 11357df0e0

View File

@ -262,6 +262,9 @@ void setup_test_environment()
_CrtSetReportMode( _CRT_ASSERT, _CRTDBG_MODE_FILE );
_CrtSetReportFile( _CRT_ASSERT, _CRTDBG_FILE_STDERR );
# endif
#else
// abort test after 60 seconds
alarm(60);
#endif
}