teak-llvm/lldb/packages/Python/lldbsuite/test/functionalities
Raphael Isemann 6f9f8f411f [lldb][modern-type-lookup] Add two basic tests for modern-type-lookup
The story so far: LLDB's modern type lookup mode has no (as in, 0%) test
coverage. It was supposed to be tested by hardcoding the default to 'true' and then running
the normal LLDB tests, but to my knowledge no one is doing that. As a around 130 tests
seem to fail with this mode enabled, we also can't just enable it globally for now.

As we touch the surrounding code all the time and also want to refactor parts of it, we
should be a bit more ambitious with our testing efforts.

So this patch adds two basic tests that enable this mode and do some
basic expression parsing which should hopefully be basic enough to not
break anywhere but still lets us know if this mode works at all (i.e. setting up the
ExternalASTMerger in LLDB, using its basic import functionality to move declarations
around and do some lookups).

llvm-svn: 372869
2019-09-25 13:33:50 +00:00
..
abbreviation [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
alias
archives [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
asan [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
avoids-fd-leak [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
backticks [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
breakpoint Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
completion [lldb][NFC] Relax completion tests for log command to make them pass on Linux 2019-09-24 08:41:10 +00:00
conditional_break [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
darwin_log [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
data-formatter [lldb] Test data formatters for empty strings 2019-09-25 10:07:23 +00:00
dead-strip [Make] Revert some changes from r372795. 2019-09-25 01:39:13 +00:00
deleted-executable [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
dynamic_value_child_count [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
exec [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
fat_archives [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
float-display [lldb] Limit the amount of zeroes we use for padding when printing small floats 2019-09-04 11:41:23 +00:00
gdb_remote_client The setUp/tearDown methods I added mssed up the test function; reorder. 2019-09-13 00:01:49 +00:00
history [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
inferior-assert [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
inferior-changed [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
inferior-crashing Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
inline-stepping Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
jitloader_gdb [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
load_unload [test] Escape path to match the literal string 2019-09-04 21:18:46 +00:00
load_using_paths [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
longjmp [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
memory [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
memory-region [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
modern-type-lookup [lldb][modern-type-lookup] Add two basic tests for modern-type-lookup 2019-09-25 13:33:50 +00:00
mtc/simple Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
multidebugger_commands [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
non-overlapping-index-variable-i [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
object-file [Platform] Remove Kalimba Platform 2019-03-27 16:23:50 +00:00
param_entry_vals/basic_entry_values_x86_64 Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
paths [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00
plugins [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
postmortem Fix ELF core file memory reading for PT_LOAD program headers with no p_filesz 2019-09-09 21:45:49 +00:00
pre_run_dylibs [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
process_group [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
process_save_core [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
ptr_refs [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
recursion [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
rerun [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
return-value [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
set-data Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
show_location [LLDB] - Improved DWARF5 support. 2018-09-13 17:06:47 +00:00
signal [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
source-map Add the source directory for https://reviews.llvm.org/D57552. 2019-02-06 00:52:04 +00:00
stats_api [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
step_scripted [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
step-avoids-no-debug [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
tail_call_frames Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
target_var [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
target-new-solib-notifications [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
testid
thread Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
tsan [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
tty [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
type_completion [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
type_lookup Canonicalize variable usage in testsuite Makefiles 2019-09-25 00:36:00 +00:00
ubsan [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
unwind [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
value_md5_crash [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
var_path [dotest] Avoid the need for LEVEL= makefile boilerplate 2019-09-04 07:46:25 +00:00
wrong_commands [lldb][NFC] Remove unused imports in python tests 2019-08-02 08:06:22 +00:00