[Lemon-commits] [lemon_svn] deba: r2923 - hugo/trunk/test
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 21:51:16 CET 2006
Author: deba
Date: Wed Sep 6 11:54:46 2006
New Revision: 2923
Modified:
hugo/trunk/test/test_tools.h
Log:
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.
Modified: hugo/trunk/test/test_tools.h
==============================================================================
--- hugo/trunk/test/test_tools.h (original)
+++ hugo/trunk/test/test_tools.h Wed Sep 6 11:54:46 2006
@@ -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().
More information about the Lemon-commits
mailing list