# HG changeset patch # User deba # Date 1157536486 0 # Node ID 416b0c06b5c8cf956350782db179bf82ec8f606a # Parent 921923afd57ae62ffe88c4317e37ab221ee4458d 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. diff -r 921923afd57a -r 416b0c06b5c8 test/test_tools.h --- a/test/test_tools.h Wed Sep 06 08:36:52 2006 +0000 +++ b/test/test_tools.h Wed Sep 06 09:54:46 2006 +0000 @@ -51,7 +51,7 @@ #define check(rc, msg) \ if(!(rc)) { \ std::cerr << __FILE__ ":" << __LINE__ << ": error: " << msg << std::endl; \ - exit(1); \ + abort(); \ } else { } \ ///Structure returned by \ref addPetersen().