[Boost-bugs] [Boost C++ Libraries] #2044: windows debug popups in build slave mode

Subject: [Boost-bugs] [Boost C++ Libraries] #2044: windows debug popups in build slave mode
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-06-24 04:44:08


#2044: windows debug popups in build slave mode
------------------------------+---------------------------------------------
 Reporter: troy | Owner: troy
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: CMake
  Version: | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 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.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2044>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:58 UTC