diff options
| author | Sean Callanan <scallanan@apple.com> | 2015-07-01 23:56:30 +0000 |
|---|---|---|
| committer | Sean Callanan <scallanan@apple.com> | 2015-07-01 23:56:30 +0000 |
| commit | 05834cd2adac6a9c3a69a137075bb9dcdce07373 (patch) | |
| tree | 7b75c3f42c8188bb273f90bf87695ad2d24b31ac /lldb/test/functionalities/inferior-assert | |
| parent | 03855df197944840745afd1180ebf423c7050c3c (diff) | |
| download | bcm5719-llvm-05834cd2adac6a9c3a69a137075bb9dcdce07373.tar.gz bcm5719-llvm-05834cd2adac6a9c3a69a137075bb9dcdce07373.zip | |
Reversed r238363, because the message is inconsistent
with all the other assertion messages.
llvm-svn: 241212
Diffstat (limited to 'lldb/test/functionalities/inferior-assert')
| -rw-r--r-- | lldb/test/functionalities/inferior-assert/TestInferiorAssert.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py index 8039373b98d..a862de40b3b 100644 --- a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py +++ b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py @@ -105,7 +105,7 @@ class AssertingInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_FAILED) + self.runCmd("run", RUN_SUCCEEDED) stop_reason = self.check_stop_reason() # And it should report a backtrace that includes the assert site. @@ -145,7 +145,7 @@ class AssertingInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_FAILED) + self.runCmd("run", RUN_SUCCEEDED) self.check_stop_reason() # lldb should be able to read from registers from the inferior after asserting. @@ -173,7 +173,7 @@ class AssertingInferiorTestCase(TestBase): for frame in thread: self.assertTrue(frame.IsValid(), "current frame is valid") - self.runCmd("frame select " + str(frame.GetFrameID()), RUN_FAILED) + self.runCmd("frame select " + str(frame.GetFrameID()), RUN_SUCCEEDED) # Don't expect the function name to be in the disassembly as the assert # function might be a no-return function where the PC is past the end @@ -196,7 +196,7 @@ class AssertingInferiorTestCase(TestBase): if 'main' == frame.GetFunctionName(): frame_id = frame.GetFrameID() - self.runCmd("frame select " + str(frame_id), RUN_FAILED) + self.runCmd("frame select " + str(frame_id), RUN_SUCCEEDED) self.expect("p argc", substrs = ['(int)', ' = 1']) self.expect("p hello_world", substrs = ['Hello']) self.expect("p argv[0]", substrs = ['a.out']) |

