Add a suggestion to convert dotest tests to use run_to_source_breakpoint.
authorJim Ingham <jingham@apple.com>
Tue, 20 Mar 2018 02:15:23 +0000 (02:15 +0000)
committerJim Ingham <jingham@apple.com>
Tue, 20 Mar 2018 02:15:23 +0000 (02:15 +0000)
llvm-svn: 327941

lldb/www/projects.html

index ff57199..ca4fa1a 100755 (executable)
                                             </li>
 
                                             <li>
+                                              Convert the dotest style tests to use lldbutil.run_to_source_breakpoint.
+
+                                              <p>
+                                                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:
+                                                &quotIf you touch a test case, and it isn't using run_to_source_breakpoint, please
+                                                make it do so&quot.
+                                              </p>
+                                            </li>
+
+                                            <li>
                                               Unify Watchpoint's & Breakpoints.  
                                               <p>
                                                 Option handling isn't shared, and more importantly the PerformAction's have a lot