Opened 14 years ago
Closed 12 years ago
#2044 closed Bugs (invalid)
windows debug popups in build slave mode
Reported by: | troy d. straszheim | Owned by: | troy d. straszheim |
---|---|---|---|
Milestone: | To Be Determined | Component: | CMake |
Version: | Severity: | Problem | |
Keywords: | Cc: |
Description
In certain cases tests can trigger an assertion failure in a lower level library which, when compiled debug, can pop up a dialog box and ruin your whole day.
Evan dug up that:
This code can be used to completely suppress error message popup windows during testing:
SetErrorMode( SEM_NOGPFAULTERRORBOX ); _CrtSetReportMode( _CRT_ASSERT, _CRTDBG_MODE_FILE ); _CrtSetReportFile( _CRT_ASSERT, _CRTDBG_FILE_STDERR );
Unfortunately, python doesn't seem to include the latter two functions yet.
Seems like this should go into boost.test itself... but some libraries don't use boost.test.
Change History (3)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
Status: | new → assigned |
---|
haven't seen this recently, will leave it around in case it comes up again.
comment:3 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
CMake has not been in the Boost repository for a while.
marshal.py now correctly times out subprocesses and kills these, no longer a showstopper.