summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/load_unload/TestLoadUnload.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/functionalities/load_unload/TestLoadUnload.py')
-rw-r--r--lldb/test/functionalities/load_unload/TestLoadUnload.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/functionalities/load_unload/TestLoadUnload.py b/lldb/test/functionalities/load_unload/TestLoadUnload.py
index 2ab0d3d3d64..6e1f42f135d 100644
--- a/lldb/test/functionalities/load_unload/TestLoadUnload.py
+++ b/lldb/test/functionalities/load_unload/TestLoadUnload.py
@@ -191,7 +191,7 @@ class LoadUnloadTestCase(TestBase):
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
if lldb.remote_platform:
shlib_dir = lldb.remote_platform.GetWorkingDirectory()
@@ -249,7 +249,7 @@ class LoadUnloadTestCase(TestBase):
# Break by function name a_function (not yet loaded).
lldbutil.run_break_set_by_symbol (self, "a_function", num_expected_locations=0)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
# The stop reason of the thread should be breakpoint and at a_function.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
@@ -291,7 +291,7 @@ class LoadUnloadTestCase(TestBase):
# Break by function name a_function (not yet loaded).
lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, num_expected_locations=1, loc_exact=True)
- self.runCmd("run", RUN_FAILED)
+ self.runCmd("run", RUN_SUCCEEDED)
# The stop reason of the thread should be breakpoint and at a_function.
self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT,
OpenPOWER on IntegriCloud