diff options
author | Siva Chandra <sivachandra@google.com> | 2015-05-27 22:27:41 +0000 |
---|---|---|
committer | Siva Chandra <sivachandra@google.com> | 2015-05-27 22:27:41 +0000 |
commit | 3154aa23f31f2f78f251b70f7a9b3dfb54a596cc (patch) | |
tree | 43e14f5d3b9cd5cc05e26f02f7f28f369713bda0 /lldb/test/lang/c/set_values | |
parent | e7e1d0c706826a009698341e36f8c5a44ff1571c (diff) | |
download | bcm5719-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/lang/c/set_values')
-rw-r--r-- | lldb/test/lang/c/set_values/TestSetValues.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lang/c/set_values/TestSetValues.py b/lldb/test/lang/c/set_values/TestSetValues.py index f914cfae8c3..7f9f12b9ee6 100644 --- a/lldb/test/lang/c/set_values/TestSetValues.py +++ b/lldb/test/lang/c/set_values/TestSetValues.py @@ -49,7 +49,7 @@ class SetValuesTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line5, num_expected_locations=1, loc_exact=True) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, |