[Lldb-commits] [lldb] [lldb][test] Support remote run of Shell tests (PR #95986)
Vladislav Dzhidzhoev via lldb-commits
lldb-commits at lists.llvm.org
Thu Aug 1 07:12:59 PDT 2024
dzhidzhoev wrote:
> Though another way of thinking about it might be, I have a custom compiler setup but only intend to do host testing. This variable lets me tell the test runner not to assume I'm going to do any remote testing?
Yes, considering only Shell tests. By default, host testing is assumed. LLDB_TEST_PLATFORM_NAME/LLDB_TEST_PLATFORM_URL must be set to execute remote API&Shell testing. LLDB_SHELL_TESTS_DISABLE_REMOTE may be used to disable it for Shell tests.
> And if this compiler were the one from the toolchain you were going to ship, and include lldb with it, this lets you test host and remote then ship what you've tested, right? Instead of testing host with the system compiler and hoping nothing changes when you use the newly built cross compiler.
Technically, yes. But I think Shell tests don't aim to test a cross-compiler. It's more like "if the cross-compiler is used, that is not compatible with Shell tests, we can run them only on the host to check at least the part of the functionality". It may make sense since only one-fifth of Shell tests run something remotely.
https://github.com/llvm/llvm-project/pull/95986
More information about the lldb-commits
mailing list