|
1 | | -// Boost Test Library execution_monitor.cpp --------------------------------// |
2 | | - |
3 | | -// (C) Copyright Gennadiy Rozental 2001. |
| 1 | +// (C) Copyright Gennadiy Rozental 2001-2002. |
4 | 2 | // (C) Copyright Beman Dawes and Ullrich Koethe 1995-2001. |
5 | 3 | // Permission to copy, use, modify, sell and distribute this software |
6 | 4 | // is granted provided this copyright notice appears in all copies. |
7 | 5 | // This software is provided "as is" without express or implied warranty, |
8 | 6 | // and with no claim as to its suitability for any purpose. |
9 | 7 |
|
10 | 8 | // See http://www.boost.org for updates, documentation, and revision history. |
11 | | - |
| 9 | +// |
| 10 | +// File : $RCSfile$ |
| 11 | +// |
| 12 | +// Version : $Id$ |
| 13 | +// |
| 14 | +// Description : provides execution monitor implementation for all supported |
| 15 | +// configurations, including Microsoft structured exception based, unix signals |
| 16 | +// based and special workarounds for borland |
| 17 | +// |
12 | 18 | // Note that when testing requirements or user wishes preclude use of this |
13 | 19 | // file as a separate compilation uses, it may be #included as a header file. |
14 | | - |
| 20 | +// |
15 | 21 | // Header dependencies are deliberately restricted to reduce coupling to other |
16 | 22 | // boost libraries. |
| 23 | +// *************************************************************************** |
17 | 24 |
|
18 | 25 | // LOCAL |
19 | 26 | #include <boost/test/execution_monitor.hpp> |
@@ -232,7 +239,7 @@ extern "C" { |
232 | 239 |
|
233 | 240 | static void execution_monitor_signal_handler( int sig ) |
234 | 241 | { |
235 | | - siglongjmp(execution_monitor_jump_buffer(), sig ); |
| 242 | + siglongjmp( execution_monitor_jump_buffer(), sig ); |
236 | 243 | } |
237 | 244 |
|
238 | 245 | } |
@@ -450,17 +457,24 @@ static void report_error( execution_exception::error_code ec, char const* msg1, |
450 | 457 |
|
451 | 458 | } // namespace boost |
452 | 459 |
|
453 | | - |
454 | | -// Revision History |
455 | | -// 5 Oct 01 Slightly reworked: (Gennadiy Rozental) |
456 | | -// 5 Jun 01 Made SE code work with several Win32 compilers (Beman) |
457 | | -// 4 Jun 01 New interface to old code (was catch_exceptions.hpp) |
458 | | -// to avoid use of template as requested by users (Beman) |
459 | | -// 4 Apr 01 Added signal handling code. (Ullrich) |
460 | | -// 4 Apr 01 Removed default output at end of exception handling (Ullrich) |
461 | | -// 26 Feb 01 Numerous changes suggested during formal review (Beman) |
462 | | -// 25 Jan 01 catch_exceptions.hpp code factored out of cpp_main.cpp |
463 | | -// 22 Jan 01 Remove test_tools dependencies to reduce coupling |
464 | | -// 5 Nov 00 Initial boost version (Beman Dawes) |
| 460 | +// *************************************************************************** |
| 461 | +// Revision History : |
| 462 | +// |
| 463 | +// $Log$ |
| 464 | +// Revision 1.7 2002/08/20 08:24:13 rogeeff |
| 465 | +// cvs keywords added |
| 466 | +// |
| 467 | +// 5 Oct 01 Slightly reworked: (Gennadiy Rozental) |
| 468 | +// 5 Jun 01 Made SE code work with several Win32 compilers (Beman) |
| 469 | +// 4 Jun 01 New interface to old code (was catch_exceptions.hpp) |
| 470 | +// to avoid use of template as requested by users (Beman) |
| 471 | +// 4 Apr 01 Added signal handling code. (Ullrich) |
| 472 | +// 4 Apr 01 Removed default output at end of exception handling (Ullrich) |
| 473 | +// 26 Feb 01 Numerous changes suggested during formal review (Beman) |
| 474 | +// 25 Jan 01 catch_exceptions.hpp code factored out of cpp_main.cpp |
| 475 | +// 22 Jan 01 Remove test_tools dependencies to reduce coupling |
| 476 | +// 5 Nov 00 Initial boost version (Beman Dawes) |
| 477 | + |
| 478 | +// *************************************************************************** |
465 | 479 |
|
466 | 480 | // EOF |
0 commit comments