Subject: [Boost-bugs] [Boost C++ Libraries] #4579: MSVC regression tests need _set_abort_behavior() call
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-21 13:07:57
#4579: MSVC regression tests need _set_abort_behavior() call
----------------------------------------------+-----------------------------
Reporter: Jim Bell <jim@â¦> | Owner: grafik
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: Regression Testing
Version: Boost Development Trunk | Severity: Optimization
Keywords: BOOST_MSVC, abort, retry, ignore |
----------------------------------------------+-----------------------------
A number of boost regression tests fail and put up a dialog:
{{{
Microsoft Visual C++ Debug Library
Debug Error!
Program â¦
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the applicationâs support team for more information.
(Press Retry to debug the application.)
[Buttons:] Abort, Retry, Ignore.
}}}
The '--timeout' parameter to run.py eventually kills it, but even at 5
(minutes), dozens of these assertions extend the regression test by hours,
and I think that the current trunk test is triggering at least a dozen.
You can inhibit this box via the MSVC run-time function
[http://msdn.microsoft.com/en-us/library/e631wekh.aspx
_set_abort_behavior()]:
{{{
_set_abort_behavior( 0, _WRITE_ABORT_MSG|_CALL_REPORTFAULT);
}}}
Can the regression-testing framework insert this call for each program it
builds under Win32/MSVC?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4579> 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:50:04 UTC