[Lldb-commits] [lldb] r284791 - Remove an unnecessary and incorrect check for num locations of a breakpoint

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 20 15:49:07 PDT 2016


Author: jingham
Date: Thu Oct 20 17:49:06 2016
New Revision: 284791

URL: http://llvm.org/viewvc/llvm-project?rev=284791&view=rev
Log:
Remove an unnecessary and incorrect check for num locations of a breakpoint
by grubbing the break list output.  If you pass a number of locations into
the run_break_* functions, they will check that this is right for you.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py?rev=284791&r1=284790&r2=284791&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/thread/multi_break/TestMultipleBreakpoints.py Thu Oct 20 17:49:06 2016
@@ -45,14 +45,6 @@ class MultipleBreakpointTestCase(TestBas
         lldbutil.run_break_set_by_file_and_line(
             self, "main.cpp", self.breakpoint, num_expected_locations=1)
 
-        # The breakpoint list should show 1 location.
-        self.expect(
-            "breakpoint list -f",
-            "Breakpoint location shown correctly",
-            substrs=[
-                "1: file = 'main.cpp', line = %d, locations = 1" %
-                self.breakpoint])
-
         # Run the program.
         self.runCmd("run", RUN_SUCCEEDED)
 




More information about the lldb-commits mailing list