Commit 11357df0 authored by Pieter Hintjens's avatar Pieter Hintjens

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

Set an alarm(60) in setup_test_environment() when not on windows so test...
parents 77f5f7ad 2ba5af6d
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment