about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-02 23:09:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-02 23:09:50 +0000
commitf0d08a82f2dc451f456567e557d24fe0d39aa92c (patch)
tree47a477fedc3426c5246f6b6cdc6c555229ef514b /tools
parentb71ddfd3d9bc02ee17da55a8672749fa4bab51d5 (diff)
downloadklee-f0d08a82f2dc451f456567e557d24fe0d39aa92c.tar.gz
Don't abort on --exit-on-error failures, this is just confusing.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@77923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/klee/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index a92aca8c..f3222336 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -377,8 +377,8 @@ void KleeHandler::processTestCase(const ExecutionState &state,
                                   const char *errorMessage, 
                                   const char *errorSuffix) {
   if (errorMessage && ExitOnError) {
-    llvm::cerr << "EXITING ON ERROR: " << errorMessage << "\n";
-    abort();
+    llvm::cerr << "EXITING ON ERROR:\n" << errorMessage << "\n";
+    exit(1);
   }
 
   if (!NoOutput) {