llvm-project/lldb/packages/Python/lldbsuite/test
Jordan Rupprecht cb0eb9d8dd [test] Fix LLDB tests with just-built libcxx when using a target directory.
In certain configurations, libc++ headers all exist in the same directory, and libc++ binaries exist in the same directory as lldb libs. When `LLVM_ENABLE_PER_TARGET_RUNTIME_DIR` is enabled (*and* the host is not Apple, which is why I assume this wasn't caught by others?), this is not the case: most headers will exist in the usual `include/c++/v1` directory, but `__config_site` exists in `include/$TRIPLE/c++/v1`. Likewise, the libc++.so binary exists in `lib/$TRIPLE/`, not `lib/` (where LLDB libraries reside).

This also adds the just-built-libcxx functionality to the lldb-dotest tool.

The `LIBCXX_` cmake config is borrowed from `libcxx/CMakeLists.txt`. I could not figure out a way to share the cmake config; ideally we would reuse the same config instead of copy/paste.

Reviewed By: JDevlieghere, fdeazeve

Differential Revision: https://reviews.llvm.org/D133973
2022-10-26 12:07:22 -07:00
..
builders [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
make [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
test_runner
tools [lldb-vscode] Send Statistics Dump in terminated event 2022-10-25 18:47:29 -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 [lldb] Start from end of previous substr when checking ordered substrs 2022-10-14 11:16:51 -07:00
configuration.py [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
decorators.py [lldb] Remove uses of six module (NFC) 2022-08-11 19:06:15 -07:00
dotest.py [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -07:00
dotest_args.py [test] Fix LLDB tests with just-built libcxx when using a target directory. 2022-10-26 12:07:22 -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] Start from end of previous substr when checking ordered substrs 2022-10-14 11:16:51 -07: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