teak-llvm/lldb/packages/Python/lldbsuite/test/tools/lldb-mi
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
..
breakpoint Compile the LLDB tests out-of-tree. 2018-01-30 18:29:16 +00:00
control [test] Delete some xfailed lldb-mi tests 2018-03-14 18:37:13 +00:00
data [test] Skip pexpect-based lldb-mi tests on Darwin 2018-03-05 20:16:52 +00:00
interpreter [test] Delete some xfailed lldb-mi tests 2018-03-14 18:37:13 +00:00
lexical_scope Enable lldm-mi commands -stack-list-locals -stack-list-variables and -var-create to work only with variables in scope 2017-04-04 08:00:28 +00:00
signal [test] Skip pexpect-based lldb-mi tests on Darwin 2018-03-05 20:16:52 +00:00
stack Initial patchset to get the testsuite running against armv7 and arm64 iOS devices. 2017-09-25 18:19:39 +00:00
startup_options Next batch of test-tree-cleaning changes 2018-03-15 13:47:09 +00:00
symbol [test] Delete some xfailed lldb-mi tests 2018-03-14 18:37:13 +00:00
syntax Next batch of test-tree-cleaning changes 2018-03-15 13:47:09 +00:00
target Skip more lldb-mi tests which time out on Darwin 2018-03-16 04:11:03 +00:00
threadinfo Disable the lldb-mi tests on remote platforms. 2017-03-04 01:48:43 +00:00
variable [test] Skip more lldb-mi tests which occasionally time out on Darwin 2018-03-14 22:52:32 +00:00
.categories Remove getCategories mechanism of specifying test categories 2017-11-02 22:13:09 +00:00
lldbmi_testcase.py [dotest] Clean up test folder clean-up 2018-03-16 12:04:46 +00:00
main.cpp [lldb-mi] Fix implementation for a few mi commands 2017-01-05 13:23:47 +00:00
Makefile
TestMiEnvironmentCd.py Disable the lldb-mi tests on remote platforms. 2017-03-04 01:48:43 +00:00
TestMiFile.py Next batch of test-tree-cleaning changes 2018-03-15 13:47:09 +00:00
TestMiLibraryLoaded.py [test] Skip some lldb-mi tests which time out on Darwin 2018-03-14 20:32:10 +00:00
TestMiPrompt.py Disable the lldb-mi tests on remote platforms. 2017-03-04 01:48:43 +00:00