Author: jmolenda
Date: Tue Oct 7 18:37:28 2014
New Revision: 219251
URL: http://llvm.org/viewvc/llvm-project?rev=219251&view=rev
Log:
Update TestInlinedBreakpoints to reflect the fact that
the default search method is "always" as of r218405.
For the purposes of this test, set it back to "headers"
to confirm that the file+line breakpoint doesn't work,
then verify that it does work with "always". Leave it
in "always" setting.
<rdar://problem/18564244>
Modified:
lldb/trunk/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
Modified:
lldb/trunk/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py?rev=219251&r1=219250&r2=219251&view=diff
==============================================================================
---
lldb/trunk/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
(original)
+++
lldb/trunk/test/functionalities/breakpoint/inlined_breakpoints/TestInlinedBreakpoints.py
Tue Oct 7 18:37:28 2014
@@ -39,6 +39,9 @@ class InlinedBreakpointsTestCase(TestBas
exe = os.path.join(os.getcwd(), "a.out")
self.runCmd("file " + exe, CURRENT_EXECUTABLE_SET)
+ # With the inline-breakpoint-strategy, our file+line breakpoint should
not resolve to a location.
+ self.runCmd('settings set target.inline-breakpoint-strategy headers')
+
# Set a breakpoint and fail because it is in an inlined source
implemenation file
lldbutil.run_break_set_by_file_and_line (self, "basic_type.cpp",
self.line, num_expected_locations=0)
@@ -46,7 +49,7 @@ class InlinedBreakpointsTestCase(TestBas
self.runCmd('settings set target.inline-breakpoint-strategy always')
# And add hooks to restore the settings during tearDown().
self.addTearDownHook(
- lambda: self.runCmd("settings set
target.inline-breakpoint-strategy headers"))
+ lambda: self.runCmd("settings set
target.inline-breakpoint-strategy always"))
lldbutil.run_break_set_by_file_and_line (self, "basic_type.cpp",
self.line, num_expected_locations=1, loc_exact=True)
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits