summaryrefslogtreecommitdiffstats
path: root/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
diff options
context:
space:
mode:
authorSiva Chandra <sivachandra@google.com>2015-05-27 22:27:41 +0000
committerSiva Chandra <sivachandra@google.com>2015-05-27 22:27:41 +0000
commit3154aa23f31f2f78f251b70f7a9b3dfb54a596cc (patch)
tree43e14f5d3b9cd5cc05e26f02f7f28f369713bda0 /lldb/test/expression_command/call-function/TestCallStopAndContinue.py
parente7e1d0c706826a009698341e36f8c5a44ff1571c (diff)
downloadbcm5719-llvm-3154aa23f31f2f78f251b70f7a9b3dfb54a596cc.tar.gz
bcm5719-llvm-3154aa23f31f2f78f251b70f7a9b3dfb54a596cc.zip
[TestBase.runCmd] Better error message when runCmd fails.
Summary: Before: AssertionError: False is not True : Process is launched successfully After: AssertionError: False is not True : Command 'run a.out' failed. >>> error: invalid target, create a target using the 'target create' command >>> Process could not be launched successfully Reviewers: clayborg Reviewed By: clayborg Subscribers: lldb-commits, vharron Differential Revision: http://reviews.llvm.org/D9948 llvm-svn: 238363
Diffstat (limited to 'lldb/test/expression_command/call-function/TestCallStopAndContinue.py')
-rw-r--r--lldb/test/expression_command/call-function/TestCallStopAndContinue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
index 0814c408ccb..aa0e532778e 100644
--- a/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
+++ b/lldb/test/expression_command/call-function/TestCallStopAndContinue.py
@@ -42,7 +42,7 @@ class ExprCommandCallStopContinueTestCase(TestBase):
# Some versions of GCC encode two locations for the 'return' statement in main.cpp
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1, loc_exact=True)
- self.runCmd("run", RUN_SUCCEEDED)
+ self.runCmd("run", RUN_FAILED)
lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.func_line, num_expected_locations=-1, loc_exact=True)
OpenPOWER on IntegriCloud