diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-10-09 16:38:47 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-10-09 16:38:47 +0000 |
| commit | 22314179f0660c172514b397060fd8f34b586e82 (patch) | |
| tree | afb3f04cd285733772ffceec4ccf3d8539dca91c /lldb/lit/Breakpoint/debug_rnglist_basic.test | |
| parent | df14bd315db94d286c0c75b4b6ee5d760f311399 (diff) | |
| download | bcm5719-llvm-22314179f0660c172514b397060fd8f34b586e82.tar.gz bcm5719-llvm-22314179f0660c172514b397060fd8f34b586e82.zip | |
[test] Split LLDB tests into API, Shell & Unit
LLDB has three major testing strategies: unit tests, tests that exercise
the SB API though dotest.py and what we currently call lit tests. The
later is rather confusing as we're now using lit as the driver for all
three types of tests. As most of this grew organically, the directory
structure in the LLDB repository doesn't really make this clear.
The 'lit' tests are part of the root and among these tests there's a
Unit and Suite folder for the unit and dotest-tests. This layout makes
it impossible to run just the lit tests.
This patch changes the directory layout to match the 3 testing
strategies, each with their own directory and their own configuration
file. This means there are now 3 directories under lit with 3
corresponding targets:
- API (check-lldb-api): Test exercising the SB API.
- Shell (check-lldb-shell): Test exercising command line utilities.
- Unit (check-lldb-unit): Unit tests.
Finally, there's still the `check-lldb` target that runs all three test
suites.
Finally, this also renames the lit folder to `test` to match the LLVM
repository layout.
Differential revision: https://reviews.llvm.org/D68606
llvm-svn: 374184
Diffstat (limited to 'lldb/lit/Breakpoint/debug_rnglist_basic.test')
| -rw-r--r-- | lldb/lit/Breakpoint/debug_rnglist_basic.test | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lldb/lit/Breakpoint/debug_rnglist_basic.test b/lldb/lit/Breakpoint/debug_rnglist_basic.test deleted file mode 100644 index 268e4a0ed30..00000000000 --- a/lldb/lit/Breakpoint/debug_rnglist_basic.test +++ /dev/null @@ -1,30 +0,0 @@ -# RUN: yaml2obj %p/Inputs/debug_rnglist_basic.yaml > %ttest -# RUN: lldb-test breakpoints %ttest %s | FileCheck %s - -# The following code and invocation were used to produce yaml file, -# which was manually reduced after that. -# clang -O0 -gdwarf-5 test.cpp -o test -fuse-ld=lld -ffunction-sections -# -# //test.cpp: -# int zed() { -# return 1; -# } -# -# int main() { -# return zed(); -# } -# -# clang and LLD versions were 8.0.0 (trunk 343487) -# -# Output file contains .debug_rnglists section with basic entries: -# DW_RLE_start_length and DW_RLE_end_of_list. -# If LLDB would not be able to parse the section and entries correctly, -# then reported location would be incorrect. - -b main -# CHECK-LABEL: b main -# CHECK: Address: {{.*}}`main + 15 at test.cpp:6:9 - -b zed -# CHECK-LABEL: b zed -# CHECK: Address: {{.*}}`zed() + 4 at test.cpp:2:2 |

