llvm-project/lldb/packages/Python/lldbsuite/test
Michael Buch 12502ee551 [lldb][test] 1 - Don't do test-replication for gmodules debug_info variant
Currently, by default LLDB runs an API test with 3 variants,
one of which, depending on platform, is `gmodules`. However,
most tests don't actually make use of any specific `gmodules`
feature since they compile a single `main.cpp` file without
imporint types from other modules.

Instead of running all tests an extra time with `-gmodules`
enabled, we plan to test `gmodules` features with dedicated
API tests that explicitly opt-into compiling with `-gmodules`.
One of the main benefits of this will be a reduction in total
API test-suite run-time (by around 1/3).

This patch adds a flag to `debug_info_categories` that indicates
whether a category is eligible to be replicated by `lldbtest`.

Keeping `gmodules` a debug-info category is desirable because
`builder.py` knows how to inject the appropriate Makefile flags
into the build command for debug-info categories already. Whereas
for non-debug-info categories we'd have to teach it how to. The
category is inferred from the test-name debug-info suffix currently.

Differential Revision: https://reviews.llvm.org/D134524
2022-09-26 19:54:24 +01:00
..
builders Add the ability to show when variables fails to be available when debug info is valid. 2022-09-12 13:59:05 -07:00
make Reland "[lldb] Use just-built libcxx for tests when available" 2022-09-12 15:32:25 -04:00
test_runner
tools Modify all register values whose byte size matches the address size to be formatter as eFormatAddressInfo. 2022-08-22 14:48:16 -07:00
README-TestSuite [lldb] Remove mention of dotest.pl 2022-08-29 10:21:40 -07:00
__init__.py
bench.py
concurrent_base.py
configuration.py [lldb] Remove prefer-dynamic-value test override 2022-08-22 15:46:03 -07:00
decorators.py [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
dotest.py [lldb] Improve formatting of skipped categories message (NFC) 2022-09-15 20:39:25 -07:00
dotest_args.py [lldb] Support specifying a custom libcxx for the API tests 2022-08-19 15:20:41 -07:00
gdbclientutils.py Fix inconsistent target arch when attaching to arm64 binaries on 2022-09-01 16:39:35 -07:00
lldb_pylint_helper.py
lldbbench.py [lldb] Fixed a number of typos 2022-09-13 10:38:38 -07:00
lldbdwarf.py [lldb][NFC] Delete unused and commented out DWARF constants 2021-07-26 12:26:35 -07:00
lldbgdbclient.py [lldb/platform-gdb] Clear cached protocol state upon disconnection 2022-01-10 16:27:30 +01:00
lldbinline.py [lldb/test] Allow indentation in inline tests 2021-10-28 14:39:02 +02:00
lldbpexpect.py [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
lldbplatform.py [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
lldbplatformutil.py [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
lldbtest.py [lldb][test] 1 - Don't do test-replication for gmodules debug_info variant 2022-09-26 19:54:24 +01:00
lldbtest_config.py
lldbutil.py [LLDB] Add data formatter for std::coroutine_handle 2022-08-24 14:40:53 -07:00
test_categories.py [lldb][test] 1 - Don't do test-replication for gmodules debug_info variant 2022-09-26 19:54:24 +01:00
test_result.py [lldb] [test] Rename '.categories' to 'categories' 2020-11-10 12:02:38 +01:00