summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorGravatar wuestholz <unknown>2013-06-19 10:41:28 -0700
committerGravatar wuestholz <unknown>2013-06-19 10:41:28 -0700
commitee9ab9ad12bb1b52448688aeaca1d3e804e0b18c (patch)
treee6dc90a14f0cafe6c3fa465ddc693f152430ac1f /Source
parentcb5d6e5cd7708e9452953b5c189af85d709f0074 (diff)
Did some refactoring in the execution engine.
Diffstat (limited to 'Source')
-rw-r--r--Source/ExecutionEngine/ExecutionEngine.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/ExecutionEngine/ExecutionEngine.cs b/Source/ExecutionEngine/ExecutionEngine.cs
index 54edf796..dac3e06e 100644
--- a/Source/ExecutionEngine/ExecutionEngine.cs
+++ b/Source/ExecutionEngine/ExecutionEngine.cs
@@ -1172,11 +1172,16 @@ namespace Microsoft.Boogie
}
else
{
+ var msg = assertError.FailingAssert.ErrorData as string;
if (!CommandLineOptions.Clo.ForceBplErrors && assertError.FailingAssert.ErrorMessage != null)
{
+ msg = assertError.FailingAssert.ErrorMessage;
showBplLocation = false;
+ if (cause == "Error")
+ {
+ cause = null;
+ }
}
- var msg = assertError.FailingAssert.ErrorData as string;
string bec = null;
if (msg == null)
{
@@ -1193,7 +1198,9 @@ namespace Microsoft.Boogie
}
}
}
+
printer.WriteErrorInformation(errorInfo, true, showBplLocation);
+
return errorInfo;
}