From f27d705d15195fed96d236245518aa2dc4af0631 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 20 Mar 2018 02:15:23 +0000 Subject: [PATCH] Add a suggestion to convert dotest tests to use run_to_source_breakpoint. llvm-svn: 327941 --- lldb/www/projects.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lldb/www/projects.html b/lldb/www/projects.html index ff57199..ca4fa1a 100755 --- a/lldb/www/projects.html +++ b/lldb/www/projects.html @@ -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 -- 2.7.4