diff options
Diffstat (limited to 'lldb/test/functionalities')
97 files changed, 148 insertions, 148 deletions
diff --git a/lldb/test/functionalities/archives/TestBSDArchives.py b/lldb/test/functionalities/archives/TestBSDArchives.py index 632b9819070..c56856263e5 100644 --- a/lldb/test/functionalities/archives/TestBSDArchives.py +++ b/lldb/test/functionalities/archives/TestBSDArchives.py @@ -29,7 +29,7 @@ class BSDArchivesTestCase(TestBase): # Break inside a() by file and line first. lldbutil.run_break_set_by_file_and_line (self, "a.c", self.line, 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, diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py b/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py index b1116595d4b..cffbff46af3 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py +++ b/lldb/test/functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py @@ -111,7 +111,7 @@ class BreakpointCommandTestCase(TestBase): # Run the program. Remove 'output.txt' if it exists. self.RemoveTempFile("output.txt") self.RemoveTempFile("output2.txt") - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Check that the file 'output.txt' exists and contains the string "lldb". @@ -161,7 +161,7 @@ class BreakpointCommandTestCase(TestBase): self.line]) # Run the program again, with breakpoint 1 remaining. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to breakpoint 1. @@ -191,7 +191,7 @@ class BreakpointCommandTestCase(TestBase): os.remove ('output-2.txt') # Run program, hit breakpoint, and hopefully write out new version of 'output-2.txt' - self.runCmd ("run", RUN_SUCCEEDED) + self.runCmd ("run", RUN_FAILED) # Check that the file 'output.txt' exists and contains the string "lldb". diff --git a/lldb/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py b/lldb/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py index ca95f36e838..b7d9b704606 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py +++ b/lldb/test/functionalities/breakpoint/breakpoint_command/TestRegexpBreakCommand.py @@ -48,7 +48,7 @@ class RegexpBreakCommandTestCase(TestBase): break_results = lldbutil.run_break_set_command (self, "b %s:%d" % (full_path, self.line)) lldbutil.check_breakpoint_result (self, break_results, file_name='main.c', line_number=self.line, num_locations=1) - 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, diff --git a/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py b/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py index a60a917e8af..6587746ae9a 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py +++ b/lldb/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py @@ -79,7 +79,7 @@ class BreakpointConditionsTestCase(TestBase): self.runCmd("breakpoint modify -c 'val == 3' 1") # Now run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The process should be stopped at this point. self.expect("process status", PROCESS_STOPPED, @@ -110,7 +110,7 @@ class BreakpointConditionsTestCase(TestBase): substrs = ["Condition:"]) # Now run the program again. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The process should be stopped at this point. self.expect("process status", PROCESS_STOPPED, diff --git a/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py b/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py index 7655af396ab..1b961c3343e 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py +++ b/lldb/test/functionalities/breakpoint/breakpoint_ignore_count/TestBreakpointIgnoreCount.py @@ -59,7 +59,7 @@ class BreakpointIgnoreCountTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, 'main.c', self.line1, extra_options='-i 1', num_expected_locations=1, loc_exact=True) # Now run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The process should be stopped at this point. self.expect("process status", PROCESS_STOPPED, @@ -79,7 +79,7 @@ class BreakpointIgnoreCountTestCase(TestBase): # continue -i 1 is the same as setting the ignore count to 1 again, try that: # Now run the program. - self.runCmd("process continue -i 1", RUN_SUCCEEDED) + self.runCmd("process continue -i 1", RUN_FAILED) # The process should be stopped at this point. self.expect("process status", PROCESS_STOPPED, diff --git a/lldb/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py b/lldb/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py index 5cc912a24df..b86ee77df2a 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py +++ b/lldb/test/functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py @@ -56,7 +56,7 @@ class BreakpointLocationsTestCase(TestBase): startstr = "3 breakpoints disabled.") # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should not stopped on any breakpoint at all. self.expect("process status", "No stopping on any disabled breakpoint", @@ -71,7 +71,7 @@ class BreakpointLocationsTestCase(TestBase): startstr = "1 breakpoints disabled.") # Run the program againt. We should stop on the two breakpoint locations. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Stopped once. self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py b/lldb/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py index b8704bda7d8..b46cea0a662 100644 --- a/lldb/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py +++ b/lldb/test/functionalities/breakpoint/breakpoint_options/TestBreakpointOptions.py @@ -44,7 +44,7 @@ class BreakpointOptionsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.c", self.line, extra_options = "-m 0", num_expected_locations = 0) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Stopped once. self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py b/lldb/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py index de532c85724..a357031cb4d 100644 --- a/lldb/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py +++ b/lldb/test/functionalities/breakpoint/dummy_target_breakpoints/TestBreakpointsWithNoTargets.py @@ -58,7 +58,7 @@ class BreakpointInDummyTarget (TestBase): "2: file = 'main.c', line = %d, exact_match = 0, locations = 1" % self.line2]) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Stopped once. self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py b/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py index ec5e2f3e696..afe90fd8d4e 100644 --- a/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py +++ b/lldb/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py @@ -53,7 +53,7 @@ class InlinedBreakpointsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "basic_type.cpp", self.line, 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. # And it should break at basic_type.cpp:176. diff --git a/lldb/test/functionalities/conditional_break/TestConditionalBreak.py b/lldb/test/functionalities/conditional_break/TestConditionalBreak.py index 1031bfd766c..7014c418927 100644 --- a/lldb/test/functionalities/conditional_break/TestConditionalBreak.py +++ b/lldb/test/functionalities/conditional_break/TestConditionalBreak.py @@ -123,7 +123,7 @@ class ConditionalBreakTestCase(TestBase): if self.TraceOn(): print "About to run." - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.runCmd ("break list") diff --git a/lldb/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py b/lldb/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py index 702563a20ae..992bde0e178 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-advanced/TestDataFormatterAdv.py @@ -37,7 +37,7 @@ class AdvDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py b/lldb/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py index 76de9a7245e..cf53eddb827 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-categories/TestDataFormatterCategories.py @@ -37,7 +37,7 @@ class CategoriesDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py b/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py index 8ffbb73a6e8..a6953cee3dc 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py @@ -37,7 +37,7 @@ class CppDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py b/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py index 64979bb5179..7c8d9ced6ce 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py @@ -37,7 +37,7 @@ class DataFormatterDisablingTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py b/lldb/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py index 98891e539c2..15f4932b2f3 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-enum-format/TestDataFormatterEnumFormat.py @@ -37,7 +37,7 @@ class EnumFormatTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py b/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py index 64e68e5e320..790c488ec53 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-named-summaries/TestDataFormatterNamedSummaries.py @@ -37,7 +37,7 @@ class NamedSummariesDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py index f0aadb59ba1..e7604f26c4a 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py @@ -231,7 +231,7 @@ class ObjCDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, @@ -262,7 +262,7 @@ class ObjCDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, @@ -327,7 +327,7 @@ class ObjCDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, @@ -508,7 +508,7 @@ class ObjCDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, @@ -551,7 +551,7 @@ class ObjCDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, @@ -607,7 +607,7 @@ class ObjCDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py b/lldb/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py index fad6d4a05b1..e13728a36f8 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py @@ -54,7 +54,7 @@ class PythonSynthDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, @@ -210,7 +210,7 @@ class PythonSynthDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=1, loc_exact=False) lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line3, 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py b/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py index a23fa2c9adc..c12cc0efed1 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-script/TestDataFormatterScript.py @@ -37,7 +37,7 @@ class ScriptDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py b/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py index 6a925dbb2c0..ad3b4b3caef 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-skip-summary/TestDataFormatterSkipSummary.py @@ -40,7 +40,7 @@ class SkipSummaryDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py b/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py index 645d316e5a5..dcf56261f5f 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-smart-array/TestDataFormatterSmartArray.py @@ -37,7 +37,7 @@ class SmartArrayDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py index 8d31bdf78ab..549d2002595 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/initializerlist/TestInitializerList.py @@ -38,7 +38,7 @@ class InitializerListTestCase(TestBase): bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py index 0fbcc3a0d5d..620b859d051 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/iterator/TestDataFormatterLibccIterator.py @@ -39,7 +39,7 @@ class LibcxxIteratorDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py index ee743b96ee2..3559c9a3ba7 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py @@ -41,7 +41,7 @@ class LibcxxListDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line2, num_expected_locations=-1) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py index 8881ea05566..5fe9843d822 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py @@ -37,7 +37,7 @@ class LibcxxMapDataFormatterTestCase(TestBase): bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py index 2c3b72a6b7d..628a2557bb8 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py @@ -37,7 +37,7 @@ class LibcxxMultiMapDataFormatterTestCase(TestBase): bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py index f51f0509e41..a795bc17f1e 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/multiset/TestDataFormatterLibcxxMultiSet.py @@ -37,7 +37,7 @@ class LibcxxMultiSetDataFormatterTestCase(TestBase): bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py index d855399ad10..cac8cefd289 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/set/TestDataFormatterLibcxxSet.py @@ -37,7 +37,7 @@ class LibcxxSetDataFormatterTestCase(TestBase): bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.")) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py index fd3ecfe0461..86ecfaa1a60 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/string/TestDataFormatterLibcxxString.py @@ -40,7 +40,7 @@ class LibcxxStringDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py index 921f8374af6..d4f273a6f7b 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/unordered/TestDataFormatterUnordered.py @@ -40,7 +40,7 @@ class LibcxxUnorderedDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.") - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py index e5abcd649a6..3e0426ae0a7 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py @@ -39,7 +39,7 @@ class LibcxxVBoolDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py index b7c96189c0d..a42e1836228 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py @@ -37,7 +37,7 @@ class LibcxxVectorDataFormatterTestCase(TestBase): bkpt = self.target().FindBreakpointByID(lldbutil.run_break_set_by_source_regexp (self, "break here")) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py index bac3057309f..ac5663a8b5a 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/iterator/TestDataFormatterStdIterator.py @@ -39,7 +39,7 @@ class StdIteratorDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py index 6b06581112a..e0bdc67be09 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/list/TestDataFormatterStdList.py @@ -40,7 +40,7 @@ class StdListDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) - 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, @@ -162,7 +162,7 @@ class StdListDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.final_line, num_expected_locations=-1) - self.runCmd("c", RUN_SUCCEEDED) + self.runCmd("c", RUN_FAILED) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py index d2ffa0f4b36..a4cb0aac68e 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/map/TestDataFormatterStdMap.py @@ -40,7 +40,7 @@ class StdMapDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.") - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py index 9188efb8d55..abd8446ac27 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/string/TestDataFormatterStdString.py @@ -39,7 +39,7 @@ class StdStringDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py index 7fc8a7c817c..c700c310cc6 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vbool/TestDataFormatterStdVBool.py @@ -42,7 +42,7 @@ class StdVBoolDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.line, num_expected_locations=-1) - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py index 9d4ea773eb7..64de4a4b506 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/TestDataFormatterStdVector.py @@ -39,7 +39,7 @@ class StdVectorDataFormatterTestCase(TestBase): lldbutil.run_break_set_by_source_regexp (self, "Set break point at this line.") - 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, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py b/lldb/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py index 48217103aa8..dfee780f30c 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-synth/TestDataFormatterSynth.py @@ -38,7 +38,7 @@ class SynthDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py b/lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py index 94a9934c87e..52d69fa33a0 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-synthval/TestDataFormatterSynthVal.py @@ -39,7 +39,7 @@ class DataFormatterSynthValueTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py b/lldb/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py index cc670569d72..c4fd55f008b 100644 --- a/lldb/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py +++ b/lldb/test/functionalities/data-formatter/format-propagation/TestFormatPropagation.py @@ -39,7 +39,7 @@ class FormatPropagationTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py b/lldb/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py index 7580a5f86b7..3483f138689 100644 --- a/lldb/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py +++ b/lldb/test/functionalities/data-formatter/frameformat_smallstruct/TestFrameFormatSmallStruct.py @@ -37,7 +37,7 @@ class FrameFormatSmallStructTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py b/lldb/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py index ad086e6e1a9..881e2e61d89 100644 --- a/lldb/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py +++ b/lldb/test/functionalities/data-formatter/ptr_ref_typedef/TestPtrRef2Typedef.py @@ -37,7 +37,7 @@ class PtrRef2TypedefTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py b/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py index ac8757f6cfe..f6a31907bf1 100644 --- a/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py +++ b/lldb/test/functionalities/data-formatter/rdar-10449092/Test-rdar-10449092.py @@ -38,7 +38,7 @@ class Radar10449092DataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py b/lldb/test/functionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py index b4f6294c11a..ed1db515b03 100644 --- a/lldb/test/functionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py +++ b/lldb/test/functionalities/data-formatter/rdar-10642615/Test-rdar-10642615.py @@ -39,7 +39,7 @@ class Radar10642615DataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py b/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py index 67aa08de6b8..9b36e716fa8 100644 --- a/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py +++ b/lldb/test/functionalities/data-formatter/rdar-10887661/TestRdar10887661.py @@ -39,7 +39,7 @@ class Rdar10887661TestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/rdar-11086338/TestRdar11086338.py b/lldb/test/functionalities/data-formatter/rdar-11086338/TestRdar11086338.py index 40bd599617f..21979113823 100644 --- a/lldb/test/functionalities/data-formatter/rdar-11086338/TestRdar11086338.py +++ b/lldb/test/functionalities/data-formatter/rdar-11086338/TestRdar11086338.py @@ -39,7 +39,7 @@ class DataFormatterRdar11086338TestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/rdar-11628688/TestFormattersBoolRefPtr.py b/lldb/test/functionalities/data-formatter/rdar-11628688/TestFormattersBoolRefPtr.py index f0584c89ed2..a0ade4b8cb0 100644 --- a/lldb/test/functionalities/data-formatter/rdar-11628688/TestFormattersBoolRefPtr.py +++ b/lldb/test/functionalities/data-formatter/rdar-11628688/TestFormattersBoolRefPtr.py @@ -39,7 +39,7 @@ class DataFormatterOSTypeTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.mm", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/rdar-11773899/TestFormattersBoolRefPtr.py b/lldb/test/functionalities/data-formatter/rdar-11773899/TestFormattersBoolRefPtr.py index 092737b3ac2..c9d6be89ba9 100644 --- a/lldb/test/functionalities/data-formatter/rdar-11773899/TestFormattersBoolRefPtr.py +++ b/lldb/test/functionalities/data-formatter/rdar-11773899/TestFormattersBoolRefPtr.py @@ -39,7 +39,7 @@ class DataFormatterBoolRefPtr(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.mm", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/rdar-11988289/TestRdar 11988289.py b/lldb/test/functionalities/data-formatter/rdar-11988289/TestRdar 11988289.py index ae1b83bd39b..2ce6ba5fd33 100644 --- a/lldb/test/functionalities/data-formatter/rdar-11988289/TestRdar 11988289.py +++ b/lldb/test/functionalities/data-formatter/rdar-11988289/TestRdar 11988289.py @@ -39,7 +39,7 @@ class DataFormatterRdar11988289TestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/rdar-12437442/TestRdar12437442.py b/lldb/test/functionalities/data-formatter/rdar-12437442/TestRdar12437442.py index c96f38b0803..307fcd97533 100644 --- a/lldb/test/functionalities/data-formatter/rdar-12437442/TestRdar12437442.py +++ b/lldb/test/functionalities/data-formatter/rdar-12437442/TestRdar12437442.py @@ -39,7 +39,7 @@ class DataFormatterRdar12437442TestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/rdar-12529957/TestRdar12529957.py b/lldb/test/functionalities/data-formatter/rdar-12529957/TestRdar12529957.py index 83a36ecda55..399a535ef61 100644 --- a/lldb/test/functionalities/data-formatter/rdar-12529957/TestRdar12529957.py +++ b/lldb/test/functionalities/data-formatter/rdar-12529957/TestRdar12529957.py @@ -39,7 +39,7 @@ class DataFormatterRdar12529957TestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/rdar-13338477/Test-rdar-13338477.py b/lldb/test/functionalities/data-formatter/rdar-13338477/Test-rdar-13338477.py index 5a2acda18a3..5b4e10675ae 100644 --- a/lldb/test/functionalities/data-formatter/rdar-13338477/Test-rdar-13338477.py +++ b/lldb/test/functionalities/data-formatter/rdar-13338477/Test-rdar-13338477.py @@ -38,7 +38,7 @@ class Radar13338477DataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py b/lldb/test/functionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py index b3cbeb43e10..e4a55c8f9a2 100644 --- a/lldb/test/functionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py +++ b/lldb/test/functionalities/data-formatter/rdar-3534688/TestFormattersOneIsSingular.py @@ -39,7 +39,7 @@ class DataFormatterOneIsSingularTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m", self.line, 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, diff --git a/lldb/test/functionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py b/lldb/test/functionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py index 9470fbf2393..c8facb5d2c5 100644 --- a/lldb/test/functionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py +++ b/lldb/test/functionalities/data-formatter/rdar-9973865/Test-rdar-9973865.py @@ -39,7 +39,7 @@ class Radar9973865DataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py b/lldb/test/functionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py index 5f31904279c..fffe5797692 100644 --- a/lldb/test/functionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py +++ b/lldb/test/functionalities/data-formatter/rdar-9973992/Test-rdar-9973992.py @@ -38,7 +38,7 @@ class Radar9973992DataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py b/lldb/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py index 326edf1a5a9..5e28a3f9d8f 100644 --- a/lldb/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py +++ b/lldb/test/functionalities/data-formatter/rdar-9974002/Test-rdar-9974002.py @@ -41,7 +41,7 @@ class Radar9974002DataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py b/lldb/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py index 237099d7bdd..dd61431b086 100644 --- a/lldb/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py +++ b/lldb/test/functionalities/data-formatter/refpointer-recursion/TestDataFormatterRefPtrRecursion.py @@ -37,7 +37,7 @@ class DataFormatterRefPtrRecursionTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py b/lldb/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py index 7650c23bb51..0b138f71027 100644 --- a/lldb/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py +++ b/lldb/test/functionalities/data-formatter/user-format-vs-summary/TestUserFormatVsSummary.py @@ -37,7 +37,7 @@ class UserFormatVSSummaryTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py b/lldb/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py index 66f597d3493..ae8f088ea50 100644 --- a/lldb/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py +++ b/lldb/test/functionalities/data-formatter/varscript_formatting/TestDataFormatterVarScriptFormatting.py @@ -39,7 +39,7 @@ class PythonSynthDataFormatterTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py b/lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py index 3bd2262f601..14cc63fd042 100644 --- a/lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py +++ b/lldb/test/functionalities/data-formatter/vector-types/TestVectorTypesFormatting.py @@ -40,7 +40,7 @@ class VectorTypesFormattingTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/dead-strip/TestDeadStrip.py b/lldb/test/functionalities/dead-strip/TestDeadStrip.py index d9f92b3158f..eaae4386701 100644 --- a/lldb/test/functionalities/dead-strip/TestDeadStrip.py +++ b/lldb/test/functionalities/dead-strip/TestDeadStrip.py @@ -40,7 +40,7 @@ class DeadStripTestCase(TestBase): # Break by function name f3 (live code). lldbutil.run_break_set_by_symbol (self, "f3", num_expected_locations=1, module_name="a.out") - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The stop reason of the thread should be breakpoint (breakpoint #1). self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py b/lldb/test/functionalities/inferior-assert/TestInferiorAssert.py index a862de40b3b..8039373b98d 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_SUCCEEDED) + self.runCmd("run", RUN_FAILED) 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_SUCCEEDED) + self.runCmd("run", RUN_FAILED) 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_SUCCEEDED) + self.runCmd("frame select " + str(frame.GetFrameID()), RUN_FAILED) # 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_SUCCEEDED) + self.runCmd("frame select " + str(frame_id), RUN_FAILED) self.expect("p argc", substrs = ['(int)', ' = 1']) self.expect("p hello_world", substrs = ['Hello']) self.expect("p argv[0]", substrs = ['a.out']) diff --git a/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py b/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py index dbb916fd880..b4d1b1b4418 100644 --- a/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py +++ b/lldb/test/functionalities/inferior-changed/TestInferiorChanged.py @@ -47,7 +47,7 @@ class ChangedInferiorTestCase(TestBase): self.exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + self.exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) if self.platformIsDarwin(): stop_reason = 'stop reason = EXC_BAD_ACCESS' @@ -70,7 +70,7 @@ class ChangedInferiorTestCase(TestBase): # Prod the lldb-platform that we have a newly built inferior ready. if lldb.lldbtest_remote_sandbox: self.runCmd("file " + self.exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.runCmd("process status") if self.platformIsDarwin(): @@ -84,7 +84,7 @@ class ChangedInferiorTestCase(TestBase): # Break inside the main. lldbutil.run_break_set_by_file_and_line (self, "main2.c", self.line2, 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, diff --git a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py index 06b411a5706..dc30ea94e8a 100644 --- a/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py +++ b/lldb/test/functionalities/inferior-crashing/TestInferiorCrashing.py @@ -115,7 +115,7 @@ class CrashingInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) stop_reason = self.check_stop_reason() # And it should report the correct line number. @@ -151,7 +151,7 @@ class CrashingInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() # lldb should be able to read from registers from the inferior after crashing. @@ -162,7 +162,7 @@ class CrashingInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() # The lldb expression interpreter should be able to read from addresses of the inferior after a crash. @@ -178,7 +178,7 @@ class CrashingInferiorTestCase(TestBase): self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) self.set_breakpoint(self.line) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, substrs = ['main.c:%d' % self.line, @@ -206,7 +206,7 @@ class CrashingInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() self.runCmd("next") @@ -217,7 +217,7 @@ class CrashingInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() # The lldb expression interpreter should be able to read from addresses of the inferior after a crash. diff --git a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py index 7a9648d98a3..c31816fd0d0 100644 --- a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py +++ b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py @@ -111,7 +111,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) stop_reason = self.check_stop_reason() # And it should report a backtrace that includes main and the crash site. @@ -151,7 +151,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() # lldb should be able to read from registers from the inferior after crashing. @@ -162,7 +162,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() # The lldb expression interpreter should be able to read from addresses of the inferior after a crash. @@ -175,7 +175,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) self.set_breakpoint(self.line) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, substrs = ['main.c:%d' % self.line, @@ -201,7 +201,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() expected_state = 'exited' # Provide the exit code. @@ -221,7 +221,7 @@ class CrashingRecursiveInferiorTestCase(TestBase): exe = os.path.join(os.getcwd(), "a.out") self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.check_stop_reason() # The lldb expression interpreter should be able to read from addresses of the inferior after a crash. diff --git a/lldb/test/functionalities/load_unload/TestLoadUnload.py b/lldb/test/functionalities/load_unload/TestLoadUnload.py index 36719dbd215..f3107dd0ba7 100644 --- a/lldb/test/functionalities/load_unload/TestLoadUnload.py +++ b/lldb/test/functionalities/load_unload/TestLoadUnload.py @@ -157,7 +157,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_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Make sure that a_function does not exist at this point. self.expect("image lookup -n a_function", "a_function should not exist yet", @@ -208,7 +208,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_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The stop reason of the thread should be breakpoint and at a_function. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, @@ -249,7 +249,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_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The stop reason of the thread should be breakpoint and at a_function. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/longjmp/TestLongjmp.py b/lldb/test/functionalities/longjmp/TestLongjmp.py index 7898636e9df..2fdb66daffa 100644 --- a/lldb/test/functionalities/longjmp/TestLongjmp.py +++ b/lldb/test/functionalities/longjmp/TestLongjmp.py @@ -47,7 +47,7 @@ class LongjmpTestCase(TestBase): # Break in main(). lldbutil.run_break_set_by_symbol (self, symbol, num_expected_locations=-1) - 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, @@ -61,21 +61,21 @@ class LongjmpTestCase(TestBase): def step_out(self): self.start_test("do_jump") - self.runCmd("thread step-out", RUN_SUCCEEDED) + self.runCmd("thread step-out", RUN_FAILED) self.check_status() def step_over(self): self.start_test("do_jump") - self.runCmd("thread step-over", RUN_SUCCEEDED) - self.runCmd("thread step-over", RUN_SUCCEEDED) + self.runCmd("thread step-over", RUN_FAILED) + self.runCmd("thread step-over", RUN_FAILED) self.check_status() def step_back_out(self): self.start_test("main") - self.runCmd("thread step-over", RUN_SUCCEEDED) - self.runCmd("thread step-in", RUN_SUCCEEDED) - self.runCmd("thread step-out", RUN_SUCCEEDED) + self.runCmd("thread step-over", RUN_FAILED) + self.runCmd("thread step-in", RUN_FAILED) + self.runCmd("thread step-out", RUN_FAILED) self.check_status() if __name__ == '__main__': diff --git a/lldb/test/functionalities/memory/read/TestMemoryRead.py b/lldb/test/functionalities/memory/read/TestMemoryRead.py index 427a8d4f504..b3f772a7b1f 100644 --- a/lldb/test/functionalities/memory/read/TestMemoryRead.py +++ b/lldb/test/functionalities/memory/read/TestMemoryRead.py @@ -41,7 +41,7 @@ class MemoryReadTestCase(TestBase): # Break in main() aftre the variables are assigned values. 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py b/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py index d2a127e999d..ae31a333b28 100644 --- a/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py +++ b/lldb/test/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py @@ -29,7 +29,7 @@ class NonOverlappingIndexVariableCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, self.source, self.line_to_break, 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, diff --git a/lldb/test/functionalities/recursion/TestValueObjectRecursion.py b/lldb/test/functionalities/recursion/TestValueObjectRecursion.py index 42724d58894..71544d0a89c 100644 --- a/lldb/test/functionalities/recursion/TestValueObjectRecursion.py +++ b/lldb/test/functionalities/recursion/TestValueObjectRecursion.py @@ -37,7 +37,7 @@ class ValueObjectRecursionTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/register/TestRegisters.py b/lldb/test/functionalities/register/TestRegisters.py index b78a2549edc..81a68f50bfc 100644 --- a/lldb/test/functionalities/register/TestRegisters.py +++ b/lldb/test/functionalities/register/TestRegisters.py @@ -75,7 +75,7 @@ class RegisterCommandsTestCase(TestBase): # Break in main(). lldbutil.run_break_set_by_symbol (self, "main", num_expected_locations=-1) - 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, @@ -102,7 +102,7 @@ class RegisterCommandsTestCase(TestBase): if self.platform != "": self.log_file = os.path.join(os.getcwd(), 'TestRegisters.log') - self.runCmd("log enable " + self.platform + " " + str(category) + " registers -v -f " + self.log_file, RUN_SUCCEEDED) + self.runCmd("log enable " + self.platform + " " + str(category) + " registers -v -f " + self.log_file, RUN_FAILED) if not self.has_teardown: self.has_teardown = True self.addTearDownHook(self.remove_log) diff --git a/lldb/test/functionalities/set-data/TestSetData.py b/lldb/test/functionalities/set-data/TestSetData.py index 07fdc7e0d68..05397548579 100644 --- a/lldb/test/functionalities/set-data/TestSetData.py +++ b/lldb/test/functionalities/set-data/TestSetData.py @@ -27,7 +27,7 @@ class SetDataTestCase(TestBase): self.runCmd("br s -p First"); self.runCmd("br s -p Second"); - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.expect("p myFoo.x", VARIABLES_DISPLAYED_CORRECTLY, substrs = ['2']) diff --git a/lldb/test/functionalities/target_command/TestTargetCommand.py b/lldb/test/functionalities/target_command/TestTargetCommand.py index 8cf327ae32b..edb18abe9f7 100644 --- a/lldb/test/functionalities/target_command/TestTargetCommand.py +++ b/lldb/test/functionalities/target_command/TestTargetCommand.py @@ -82,15 +82,15 @@ class targetCommandTestCase(TestBase): break; self.runCmd("target create " + exe_a, CURRENT_EXECUTABLE_SET) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.runCmd("target create " + exe_b, CURRENT_EXECUTABLE_SET) lldbutil.run_break_set_by_file_and_line (self, 'b.c', self.line_b, num_expected_locations=1, loc_exact=True) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.runCmd("target create " + exe_c, CURRENT_EXECUTABLE_SET) lldbutil.run_break_set_by_file_and_line (self, 'c.c', self.line_c, num_expected_locations=1, loc_exact=True) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) self.runCmd("target list") diff --git a/lldb/test/functionalities/thread/TestNumThreads.py b/lldb/test/functionalities/thread/TestNumThreads.py index a7d015048a5..c308ec003bc 100644 --- a/lldb/test/functionalities/thread/TestNumThreads.py +++ b/lldb/test/functionalities/thread/TestNumThreads.py @@ -44,7 +44,7 @@ class NumberOfThreadsTestCase(TestBase): substrs = ["1: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.line]) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Stopped once. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py b/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py index c230c1aad7c..10000914dc8 100644 --- a/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py +++ b/lldb/test/functionalities/thread/break_after_join/TestBreakAfterJoin.py @@ -48,7 +48,7 @@ class BreakpointAfterJoinTestCase(TestBase): substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint]) # Run the program. - 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, diff --git a/lldb/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py b/lldb/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py index 6822cf0fb65..287a8422809 100644 --- a/lldb/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py +++ b/lldb/test/functionalities/thread/concurrent_events/TestConcurrentEvents.py @@ -425,7 +425,7 @@ class ConcurrentEventsTestCase(TestBase): self.expect("breakpoint list -f", "Breakpoint locations shown correctly", substrs = expected_bps) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Check we are at line self.setup_breakpoint self.expect("thread backtrace", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py b/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py index 1a50c0739ef..742a9c1ddc9 100644 --- a/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py +++ b/lldb/test/functionalities/thread/create_during_step/TestCreateDuringStep.py @@ -95,7 +95,7 @@ class CreateDuringStepTestCase(TestBase): substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint]) # Run the program. - 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, diff --git a/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py b/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py index 539e7a0dbd2..9f2265b289d 100644 --- a/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py +++ b/lldb/test/functionalities/thread/exit_during_break/TestExitDuringBreak.py @@ -48,7 +48,7 @@ class ExitDuringBreakpointTestCase(TestBase): substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint]) # Run the program. - 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, diff --git a/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py b/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py index 1209c3788d9..135de10bca6 100644 --- a/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py +++ b/lldb/test/functionalities/thread/exit_during_step/TestExitDuringStep.py @@ -109,7 +109,7 @@ class ExitDuringStepTestCase(TestBase): substrs = ["1: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.breakpoint]) # Run the program. - 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, diff --git a/lldb/test/functionalities/thread/jump/TestThreadJump.py b/lldb/test/functionalities/thread/jump/TestThreadJump.py index d1c279fd7d2..605d692da33 100644 --- a/lldb/test/functionalities/thread/jump/TestThreadJump.py +++ b/lldb/test/functionalities/thread/jump/TestThreadJump.py @@ -46,7 +46,7 @@ class ThreadJumpTestCase(TestBase): self.mark5 = line_number('other.cpp', '// other marker') lldbutil.run_break_set_by_file_and_line (self, "main.cpp", self.mark3, num_expected_locations=1) - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The stop reason of the thread should be breakpoint 1. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT + " 1", diff --git a/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py b/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py index b0358e6b457..a54aa7993bd 100644 --- a/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py +++ b/lldb/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py @@ -48,7 +48,7 @@ class MultipleBreakpointTestCase(TestBase): substrs = ["1: file = 'main.cpp', line = %d, locations = 1" % self.breakpoint]) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The stop reason of the thread should be breakpoint. # The breakpoint may be hit in either thread 2 or thread 3. diff --git a/lldb/test/functionalities/thread/state/TestThreadStates.py b/lldb/test/functionalities/thread/state/TestThreadStates.py index 87be542e108..a08028f6c97 100644 --- a/lldb/test/functionalities/thread/state/TestThreadStates.py +++ b/lldb/test/functionalities/thread/state/TestThreadStates.py @@ -105,7 +105,7 @@ class ThreadStateTestCase(TestBase): substrs = ["1: file = 'main.c', line = %d, locations = 1" % self.break_1]) # Run the program. - 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, @@ -146,7 +146,7 @@ class ThreadStateTestCase(TestBase): substrs = ["1: file = 'main.c', line = %d, exact_match = 0, locations = 1" % self.break_1]) # Run the program. - 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, @@ -195,7 +195,7 @@ class ThreadStateTestCase(TestBase): substrs = ["1: file = 'main.c', line = %d, locations = 1" % self.break_1]) # Run the program. - 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, @@ -239,7 +239,7 @@ class ThreadStateTestCase(TestBase): substrs = ["1: file = 'main.c', line = %d, locations = 1" % self.break_1]) # Run the program. - 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, @@ -294,7 +294,7 @@ class ThreadStateTestCase(TestBase): "2: file = 'main.c', line = %d, locations = 1" % self.break_2]) # Run the program. - 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, diff --git a/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py b/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py index 84d17c81cf2..ef6a718ebe2 100644 --- a/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py +++ b/lldb/test/functionalities/thread/step_out/TestThreadStepOut.py @@ -113,7 +113,7 @@ class ThreadStepOutTestCase(TestBase): substrs = ["1: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.breakpoint]) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # Get the target process self.inferior_target = self.dbg.GetSelectedTarget() diff --git a/lldb/test/functionalities/thread/thread_exit/TestThreadExit.py b/lldb/test/functionalities/thread/thread_exit/TestThreadExit.py index 7b8ed18512b..b21418f9fd3 100644 --- a/lldb/test/functionalities/thread/thread_exit/TestThreadExit.py +++ b/lldb/test/functionalities/thread/thread_exit/TestThreadExit.py @@ -56,7 +56,7 @@ class ThreadExitTestCase(TestBase): "4: file = 'main.cpp', line = %d, exact_match = 0, locations = 1" % self.break_4]) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # The stop reason of the thread should be breakpoint 1. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT + " 1", diff --git a/lldb/test/functionalities/type_completion/TestTypeCompletion.py b/lldb/test/functionalities/type_completion/TestTypeCompletion.py index 361aa4a7867..7f80eb026d3 100644 --- a/lldb/test/functionalities/type_completion/TestTypeCompletion.py +++ b/lldb/test/functionalities/type_completion/TestTypeCompletion.py @@ -37,7 +37,7 @@ class TypeCompletionTestCase(TestBase): lldbutil.run_break_set_by_source_regexp (self, "// Set break point at this line.") - 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, diff --git a/lldb/test/functionalities/value_md5_crash/TestValueMD5Crash.py b/lldb/test/functionalities/value_md5_crash/TestValueMD5Crash.py index fa1a290c989..75a88bf7850 100644 --- a/lldb/test/functionalities/value_md5_crash/TestValueMD5Crash.py +++ b/lldb/test/functionalities/value_md5_crash/TestValueMD5Crash.py @@ -37,7 +37,7 @@ class ValueMD5CrashTestCase(TestBase): 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) # The stop reason of the thread should be breakpoint. self.expect("thread list", STOPPED_DUE_TO_BREAKPOINT, diff --git a/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py b/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py index b70b4f1a5e1..1f58831128f 100644 --- a/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py +++ b/lldb/test/functionalities/watchpoint/hello_watchlocation/TestWatchLocation.py @@ -51,7 +51,7 @@ class HelloWatchLocationTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1, loc_exact=False) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py b/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py index 16a3d9d212f..b157f45316e 100644 --- a/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py +++ b/lldb/test/functionalities/watchpoint/hello_watchpoint/TestMyFirstWatchpoint.py @@ -51,7 +51,7 @@ class HelloWatchpointTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py b/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py index a6d7a8451b1..e0860d370c1 100644 --- a/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py +++ b/lldb/test/functionalities/watchpoint/multiple_threads/TestWatchpointMultipleThreads.py @@ -59,7 +59,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.first_stop, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -103,7 +103,7 @@ class WatchpointForMultipleThreadsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.first_stop, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py b/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py index 5f9a7f1e136..0bb88339d71 100644 --- a/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py +++ b/lldb/test/functionalities/watchpoint/variable_out_of_scope/TestWatchedVarHitWhenInScope.py @@ -53,7 +53,7 @@ class WatchedVariableHitWhenInScopeTestCase(TestBase): lldbutil.run_break_set_by_symbol (self, "main", num_expected_locations=-1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py b/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py index 74c5d11d73d..7afb4dab117 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_commands/TestWatchpointCommands.py @@ -110,7 +110,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -165,7 +165,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -205,7 +205,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -249,7 +249,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, "main.m") # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -304,7 +304,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -344,7 +344,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -388,7 +388,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -443,7 +443,7 @@ class WatchpointCommandsTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line2, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py b/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py index 025d1f40bcc..c730fa1a071 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py @@ -64,7 +64,7 @@ class WatchpointLLDBCommandTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. @@ -113,7 +113,7 @@ class WatchpointLLDBCommandTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py b/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py index 0c6066d80c8..d61b1a395c9 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py @@ -53,7 +53,7 @@ class WatchpointPythonCommandTestCase(TestBase): # (self.source, self.line))# # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py b/lldb/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py index 21e1d992d26..cda9bcefac0 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_commands/condition/TestWatchpointConditionCmd.py @@ -49,7 +49,7 @@ class WatchpointConditionCmdTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py index fa32db6c9df..fbc162744f3 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchLocationWithWatchSet.py @@ -48,7 +48,7 @@ class WatchLocationUsingWatchpointSetTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. diff --git a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py index e445b46afc6..86039b0dcee 100644 --- a/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py +++ b/lldb/test/functionalities/watchpoint/watchpoint_set_command/TestWatchpointSetErrorCases.py @@ -37,7 +37,7 @@ class WatchpointSetErrorTestCase(TestBase): lldbutil.run_break_set_by_file_and_line (self, None, self.line, num_expected_locations=1) # Run the program. - self.runCmd("run", RUN_SUCCEEDED) + self.runCmd("run", RUN_FAILED) # We should be stopped again due to the breakpoint. # The stop reason of the thread should be breakpoint. |