COIN-OR::LEMON - Graph Library

Changeset 2198:416b0c06b5c8 in lemon-0.x


Ignore:
Timestamp:
09/06/06 11:54:46 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2923
Message:

Using abort() instead of exit(1)

If a program is aborted then the call stack can be analyzed with debugger.
The exit(1) does not provides that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test_tools.h

    r1993 r2198  
    5252  if(!(rc)) { \
    5353    std::cerr << __FILE__ ":" << __LINE__ << ": error: " << msg << std::endl; \
    54     exit(1); \
     54    abort(); \
    5555  } else { } \
    5656
Note: See TracChangeset for help on using the changeset viewer.