[Lldb-commits] [lldb] r327941 - Add a suggestion to convert dotest tests to use run_to_source_breakpoint.
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Mon Mar 19 19:15:23 PDT 2018
Date: Mon Mar 19 19:15:23 2018
New Revision: 327941
Add a suggestion to convert dotest tests to use run_to_source_breakpoint.
--- lldb/trunk/www/projects.html (original)
+++ lldb/trunk/www/projects.html Mon Mar 19 19:15:23 2018
@@ -403,6 +403,20 @@
+ Convert the dotest style tests to use lldbutil.run_to_source_breakpoint.
+ run_to_source_breakpoint & run_to_name_breakpoint provide a compact API that
+ does in one line what the first 10 or 20 lines of most of the old tests now do by
+ hand. Using these functions makes tests much more readable, and by centralizing
+ common functionality will make maintaining the testsuites easier in the future.
+ This is more of a finger exercise, and perhaps best implemented by a rule like:
+ "If you touch a test case, and it isn't using run_to_source_breakpoint, please
+ make it do so".
Unify Watchpoint's & Breakpoints.
Option handling isn't shared, and more importantly the PerformAction's have a lot
More information about the lldb-commits