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 troy d. straszheim, 14 years ago

marshal.py now correctly times out subprocesses and kills these, no longer a showstopper.

comment:2 by troy d. straszheim, 13 years ago

Status: newassigned

haven't seen this recently, will leave it around in case it comes up again.

comment:3 by Steven Watanabe, 12 years ago

Resolution: invalid
Status: assignedclosed

CMake has not been in the Boost repository for a while.

Note: See TracTickets for help on using tickets.