teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint
Pavel Labath 63047d05c0 [dotest] Clean up test folder clean-up
Summary:
This patch implements a unified way of cleaning the build folder of each
test. This is done by completely removing the build folder before each
test, in the respective setUp() method. Previously, we were using a
combination of several methods, each with it's own drawbacks:
- nuking the entire build tree before running dotest: the issue here is
  that this did not take place if you ran dotest manually
- running "make clean" before the main "make" target: this relied on the
  clean command being correctly implemented. This was usually true, but
  not always.
- for files which were not produced by make, each python file was
  responsible for ensuring their deleting, using a variety of methods.

With this approach, the previous methods become redundant. I remove the
first two, since they are centralized. For the other various bits of
clean-up code in python files, I indend to delete it when I come
across it.

Reviewers: aprantl

Subscribers: emaste, ki.stfu, mgorny, eraman, lldb-commits

Differential Revision: https://reviews.llvm.org/D44526

llvm-svn: 327703
2018-03-16 12:04:46 +00:00
..
address_breakpoints Add more diagnostics to help diagnose flaky test 2018-01-30 19:40:09 +00:00
auto_continue Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_command Avoid dirtying the source tree in breakpoint command tests 2018-02-20 10:24:37 +00:00
breakpoint_conditions Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_hit_count Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_ids Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_ignore_count Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_in_delayslot Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_language Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_locations Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_names Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
breakpoint_options Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
breakpoint_set_restart Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
comp_dir_symlink [dotest] Clean up test folder clean-up 2018-03-16 12:04:46 +00:00
consecutive_breakpoints Convert a few more tests to use run_to_source_breakpoint. 2017-07-13 19:46:21 +00:00
cpp Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
cpp_exception Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
debugbreak Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
dummy_target_breakpoints Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
global_constructor Fix TestBreakpointInGlobalConstructor for Windows 2018-02-21 18:08:23 +00:00
hardware_breakpoints/hardware_breakpoint_on_multiple_threads Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
inlined_breakpoints Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
move_nearest Fix TestMoveNearest on Windows 2018-02-22 22:47:47 +00:00
objc Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
serialize Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
source_regexp Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00
step_over_breakpoint Wrap all references to build artifacts in the LLDB testsuite (NFC) 2018-01-19 23:24:35 +00:00